Ken 1 هفته پیش
والد
کامیت
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