Skip to content

Commit

Permalink
Merge branch 'validation' of github.com:SimplQ/simplQ-golang into val…
Browse files Browse the repository at this point in the history
…idation
  • Loading branch information
aneeshsharma committed Feb 9, 2022
2 parents 2a24def + 4490842 commit 84a9d55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/handler/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func CreateQueue(w http.ResponseWriter, r *http.Request) {
http.Error(w, fmt.Sprint(err), http.StatusInternalServerError)
return
}
log.Printf("Inserted %s", insertedId)

log.Printf("Inserted %s", insertedId)
w.WriteHeader(http.StatusCreated)
fmt.Fprintf(w, "Queue created with Id: %s", insertedId)
}
Expand Down

0 comments on commit 84a9d55

Please sign in to comment.