Skip to content

Commit

Permalink
updating error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed May 31, 2023
1 parent 00e773d commit 900a4fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func initRouter(ctx client.Context) http.Handler {

if len(fid) < 1 {
fmt.Println("needs to supply fid")
w.WriteHeader(500)
w.WriteHeader(400)
return
}

Expand Down

0 comments on commit 900a4fb

Please sign in to comment.