Skip to content

Commit

Permalink
unstable: handlers: gallery: changed on-conflict status code
Browse files Browse the repository at this point in the history
  • Loading branch information
pandadiestro committed Nov 28, 2024
1 parent e93f408 commit 66e937e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stiller-backend/internal/handlers/post_gallery.new.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func PostGalleryNew(w http.ResponseWriter, r *http.Request, params httprouter.Pa
newgallery_query, newgallery_args := newgallery_stmt.String(), newgallery_stmt.Args()

dbconn, dbconn_err := dbutils.NewConn()
if loggers.RequestLog(dbconn_err, "", http.StatusInternalServerError, &w) {
if loggers.RequestLog(dbconn_err, "", http.StatusConflict, &w) {
return
}

Expand Down

0 comments on commit 66e937e

Please sign in to comment.