Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Commit

Permalink
Not found
Browse files Browse the repository at this point in the history
  • Loading branch information
WillianDamasceno committed Jun 11, 2024
1 parent 61c0452 commit fa57995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
->first();

if (!$user) {
return response()->json(['error' => true], 404);
return response()->json(['data' => 'not found'], 404);
}

if (!bcrypt(request('password')) === $user->password) {
Expand Down

0 comments on commit fa57995

Please sign in to comment.