diff --git a/pkg/location/admin.go b/pkg/location/admin.go index 694cc22..fd990d3 100644 --- a/pkg/location/admin.go +++ b/pkg/location/admin.go @@ -40,7 +40,7 @@ func (h *AdminHandler) Handler(user *auth.User, company *auth.Company, conn *dat case http.MethodPut: updateLocationSettings(w, r, user, company, conn) default: - httplib.MethodNotAllowed(w, r, http.MethodGet) + httplib.MethodNotAllowed(w, r, http.MethodGet, http.MethodPut) } default: http.NotFound(w, r)