Small request from odyssey

This commit is contained in:
Midou36O 2022-08-03 23:34:10 +01:00
parent 94ae90bb8d
commit 2149d8c57c
Signed by: midou
GPG Key ID: 08063D5407090BC2

View File

@ -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
}
}