Новые правки на сайте
This commit is contained in:
parent
261d5db2d7
commit
f6f2fb3a35
7 changed files with 106 additions and 6 deletions
|
|
@ -42,7 +42,7 @@ export const POST: APIRoute = async ({ request, cookies }) => {
|
|||
token: authData.token,
|
||||
user: {
|
||||
id: authData.record.id,
|
||||
name: authData.record.name || authData.record.firstName,
|
||||
name: authData.record.firstName,
|
||||
email: authData.record.email,
|
||||
}
|
||||
}), { status: 200 });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue