Skip to content

Commit

Permalink
fix(lint): redundant return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Zapharaos committed Feb 2, 2025
1 parent dd3e4b8 commit 4216f71
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/handlers/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,6 @@ func GetUser(w http.ResponseWriter, r *http.Request) {
}

render.JSON(w, r, user)

Check warning on line 314 in internal/handlers/users.go

View check run for this annotation

Codecov / codecov/patch

internal/handlers/users.go#L314

Added line #L314 was not covered by tests
return

}

// SetUser godoc
Expand Down

0 comments on commit 4216f71

Please sign in to comment.