webstar-project stubs api #3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "webstar-branch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
stubs для проекта WebStar
@ -0,0 +71,4 @@
const user = users.data.find(user => user.email === email && user.password === password);
if (!user) {
response.status(401).send('Invalid credentials');
Тут тоже надо добавить return