fix minor mistake

This commit is contained in:
bitbronze 2025-03-18 16:44:58 +03:00 committed by GitHub
parent 63d6353d38
commit 68715500f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;