Explorar el Código

update db err convert

ls hace 2 años
padre
commit
d8783f0486
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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: