feat: secu migrate to user uuid
This commit is contained in:
@@ -11,7 +11,7 @@ export class AuthService {
|
||||
*/
|
||||
static async login(
|
||||
profile: UserProfile
|
||||
): Promise<{ user: UserProfile & { id: number }; userId: number }> {
|
||||
): Promise<{ user: UserProfile & { uuid: string }; userUuid: string }> {
|
||||
const response = await fetch("/api/auth", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user