remove another console log
This commit is contained in:
@@ -16,7 +16,6 @@ export const login = async (event: RequestEvent, username: string, password: str
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
console.log(response);
|
|
||||||
const errorData = await response
|
const errorData = await response
|
||||||
.json()
|
.json()
|
||||||
.catch(() => ({ error: 'Invalid username or password.' }));
|
.catch(() => ({ error: 'Invalid username or password.' }));
|
||||||
|
|||||||
Reference in New Issue
Block a user