Sfoglia il codice sorgente

update db err convert

ls 2 anni fa
parent
commit
d8783f0486
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      db/config.go

+ 2 - 0
db/config.go

@@ -75,6 +75,8 @@ func ReplyToReplyData(reply Reply) *myth.ReplyData {
 			status = myth.ErrDataExists
 		case ErrNotFound:
 			status = myth.ErrDataNotFound
+		case ErrDataNotFound:
+			status = myth.ErrDataNotFound
 		case ErrAuthorized:
 			status = myth.ErrUnAuthorized
 		case ErrNotConnect: