remove console.log

This commit is contained in:
smanylov
2026-06-02 12:50:15 +07:00
parent ac8ef8caa2
commit 587d7ceead
+2 -4
View File
@@ -89,8 +89,7 @@ export async function authorization(
}); });
if (response.ok) { if (response.ok) {
let parsed = await response.json(); let parsed = await response.json();
console.log('login');
console.log(parsed);
if (parsed.message_code === 0) { if (parsed.message_code === 0) {
await createSession(parsed.message_body.token, email); await createSession(parsed.message_body.token, email);
} else { } else {
@@ -523,10 +522,9 @@ export async function resetPassword(
formData: FormData, formData: FormData,
) { ) {
const email = formData.get('email'); const email = formData.get('email');
console.log('resetPassword');
try { try {
const response = await fetch(`${API_BASE_URL}/api/v1/data`, { const response = await fetch(`${API_BASE_URL}/api/auth`, {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',