Skip to content

Commit

Permalink
Merge branch '139-handle-auth-in-tests' of https://github.com/Generat…
Browse files Browse the repository at this point in the history
…eNU/sac into 139-handle-auth-in-tests
  • Loading branch information
garrettladley committed Feb 3, 2024
2 parents 307dc76 + 0090dcb commit 7e359ac
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 7e359ac

Please sign in to comment.