Login:Src:Utils: some fixes

This commit is contained in:
Darya Umrikhina 2024-08-09 14:22:35 +04:00
parent b2b8e4a063
commit 8a4f638e14

View File

@ -446,7 +446,7 @@ export async function createUser(
const res = await fetch(createUser); const res = await fetch(createUser);
if (!res.ok) throw res; if (!res.ok) throw await res.json();
const user = await res.json(); const user = await res.json();