Small request from odyssey
This commit is contained in:
parent
94ae90bb8d
commit
2149d8c57c
@ -85,8 +85,8 @@ func handleAnnouncementDeleteRequest(w http.ResponseWriter, r *http.Request) {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
w.Write([]byte("Announcement deleted!"))
|
||||
w.WriteHeader(http.StatusOK)
|
||||
w.Write([]byte("Announcement deleted!"))
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user