Make it possible to change more user fields

This commit is contained in:
Eli Ribble 2026-04-02 14:22:45 +00:00
parent 7ee70b24ee
commit fc56c1406a
No known key found for this signature in database
8 changed files with 113 additions and 73 deletions

View file

@ -33,3 +33,6 @@ func NewErrorStatus(status int, mesg_format string, args ...any) *ErrorWithStatu
Status: status,
}
}
func NewForbidden(mesg_format string, args ...any) *ErrorWithStatus {
return NewErrorStatus(http.StatusForbidden, mesg_format, args...)
}