Ken 1 неделя назад
Родитель
Сommit
f3d690fe38
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      app/Http/Controllers/api/ActivityReward.php

+ 1 - 3
app/Http/Controllers/api/ActivityReward.php

@@ -52,14 +52,12 @@ class ActivityReward extends BaseController
                 'member_id' => $memberId,
                 'status' => 0
             ]);
-
-
         } catch (ValidationException $e) {
             return $this->error($e->validator->errors()->first());
         } catch (Exception $e) {
             return $this->error($e->getMessage());
         }
-        return $this->success($activity);
+        return $this->success();
     }
 
     public function index(): JsonResponse