@@ -134,7 +134,7 @@ class MealManage(View):
if not id or not title or not price or not content or not day:
return response.json(444, 'id, title, price, content, day')
own_perm = ModelService.check_perm(userID=userID, permID=30)
- if own_perm is True:
+ if own_perm is not True:
return response.json(404)
try:
store_meal = Store_Meal.objects.get(id=id)