- up
This commit is contained in:
@@ -255,7 +255,7 @@ func VoteFoodRecipe(ctx *jxcontext.Context, recipeID, voteType int) (err error)
|
||||
UserID: userID,
|
||||
}
|
||||
if err = dao.GetEntity(db, recipeUser); err != nil {
|
||||
if dao.IsNoRowsError(err) {
|
||||
if !dao.IsNoRowsError(err) {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user