diff --git a/src/routes/api/conf/[token]/index.ts b/src/routes/api/conf/[token]/index.ts index 86383c9..00bf463 100644 --- a/src/routes/api/conf/[token]/index.ts +++ b/src/routes/api/conf/[token]/index.ts @@ -56,5 +56,10 @@ export async function GET({ params }: APIEvent) { credentials ); - return json({ params, status: 'OK', mail: obfuscateMail(user.mail) }); + return json({ + params, + status: 'OK', + mail: obfuscateMail(user.mail), + id: user._id, + }); }