forked from mirrors/pronouns.cc
remove debug prints
This commit is contained in:
parent
c780470afe
commit
cb563bc00b
1 changed files with 0 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue