Skip to content

Commit

Permalink
fix: parser error
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOduneye committed Feb 3, 2024
1 parent 124faac commit 0090dcb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.DS_Store
.env
sac-cli
.vscode
.trunk
2 changes: 1 addition & 1 deletion backend/src/controllers/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (a *AuthController) Login(c *fiber.Ctx) error {
var userBody models.LoginUserResponseBody

if err := c.BodyParser(&userBody); err != nil {
errors.FailedToParseRequestBody.FiberError(c)
return errors.FailedToParseRequestBody.FiberError(c)
}

user, err := a.authService.Login(userBody)
Expand Down
10 changes: 0 additions & 10 deletions frontend/node_modules/.yarn-integrity

This file was deleted.

4 changes: 0 additions & 4 deletions frontend/yarn.lock

This file was deleted.

0 comments on commit 0090dcb

Please sign in to comment.