diff --git a/backend/routes/v1/member/patch_member.go b/backend/routes/v1/member/patch_member.go index 956eb13..8d56a87 100644 --- a/backend/routes/v1/member/patch_member.go +++ b/backend/routes/v1/member/patch_member.go @@ -58,13 +58,9 @@ func (s *Server) patchMember(w http.ResponseWriter, r *http.Request) error { } else { id, err := common.ParseSnowflake(chi.URLParam(r, "memberRef")) if err != nil { - log.Debugf("%v/%v is not valid snowflake", chi.URLParam(r, "memberRef"), id) - 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)) if err != nil { if err == db.ErrMemberNotFound {