mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
fix: return created status code for heartbeats (resolve #43)
This commit is contained in:
parent
f86eb7668d
commit
7818f6b094
@ -55,5 +55,5 @@ func (h *HeartbeatHandler) ApiPost(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
w.WriteHeader(http.StatusOK)
|
||||
w.WriteHeader(http.StatusCreated)
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
1.7.1
|
||||
1.7.2
|
Loading…
Reference in New Issue
Block a user