Fix implémentations de UploadDocument et models.NotFoundResponse()

This commit is contained in:
Victor Lacasse-Beaudoin 2023-08-23 16:01:57 -04:00
parent 37eb18cfa5
commit 48a8c8a37a
4 changed files with 17 additions and 16 deletions

View file

@ -24,8 +24,8 @@ func (r SimpleResponse) Respond() Responder {
return r
}
func NotFoundResponse() SimpleResponse {
return SimpleResponse{
func NotFoundResponse() (int, SimpleResponse) {
return http.StatusNotFound, SimpleResponse{
Message: "Not Found",
}
}