fix minor mistake
This commit is contained in:
parent
63d6353d38
commit
68715500f9
@ -33,7 +33,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
|
|||||||
|
|
||||||
// Change the email returned by Headscale API to username
|
// Change the email returned by Headscale API to username
|
||||||
result.forEach((preauthkey_item, index) => {
|
result.forEach((preauthkey_item, index) => {
|
||||||
preauthkey_item.user = user;
|
preauthkey_item.user = user.name;
|
||||||
});
|
});
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user