remove debug prints

This commit is contained in:
sam 2023-09-09 04:45:04 +02:00
parent c780470afe
commit cb563bc00b
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 0 additions and 4 deletions

View File

@ -58,13 +58,9 @@ func (s *Server) patchMember(w http.ResponseWriter, r *http.Request) error {
} else { } else {
id, err := common.ParseSnowflake(chi.URLParam(r, "memberRef")) id, err := common.ParseSnowflake(chi.URLParam(r, "memberRef"))
if err != nil { if err != nil {
log.Debugf("%v/%v is not valid snowflake", chi.URLParam(r, "memberRef"), id)
return server.APIError{Code: server.ErrMemberNotFound} return server.APIError{Code: server.ErrMemberNotFound}
} }
log.Debugf("%v/%v is valid snowflake", chi.URLParam(r, "memberRef"), id)
m, err = s.DB.MemberBySnowflake(ctx, common.MemberID(id)) m, err = s.DB.MemberBySnowflake(ctx, common.MemberID(id))
if err != nil { if err != nil {
if err == db.ErrMemberNotFound { if err == db.ErrMemberNotFound {