Skip to content

Commit

Permalink
fix: Fixing superfluous write header
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Jan 24, 2024
1 parent bd05192 commit d1c240d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/thumbnail/thumbnail.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ func (s Service) Serve(w http.ResponseWriter, r *http.Request, item absto.Item)
if err != nil {
if absto.IsNotExist(err) {
w.WriteHeader(http.StatusNoContent)
return
}

httperror.InternalServerError(ctx, w, err)

return
}

Expand Down

0 comments on commit d1c240d

Please sign in to comment.