diff options
Diffstat (limited to 'server/guest')
-rw-r--r-- | server/guest/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/guest/handler.go b/server/guest/handler.go index 04adc0c..008aeef 100644 --- a/server/guest/handler.go +++ b/server/guest/handler.go @@ -327,7 +327,7 @@ func (handler *GuestHandler) deleteGuest(request *http.Request) *appError { return err } if handler.findID(request) { - return &appError{errors.New("ID not found"), "ID not found", http.StatusNotFound} + return &appError{errors.New("ID not found"), "{ \"message\": \"ID not found\" }", http.StatusNotFound} } guestID, err := getID(request) if err != nil { |