Get user id by email; Revert changes of API delete user

This commit is contained in:
lethemanh
2025-03-27 14:03:01 +07:00
committed by Anton Shepilov
parent 5e60517c16
commit eb46da342c
3 changed files with 13 additions and 20 deletions
@@ -151,7 +151,7 @@ export type UserNotificationPreferences = {
export type UserPrimaryKey = {
id?: uuid;
username_canonical?: string;
email_canonical?: string;
};
export function getInstance(user: Partial<User>): User {