|
|
|
@ -649,7 +649,7 @@ class ActivityController extends Controller
|
|
|
|
|
DB::rollBack(); |
|
|
|
|
return response()->json(['status' => 'failed', 'action' => 'error', 'message' => 'Data activity failed deleted!', 'code' => 500], 500); |
|
|
|
|
} |
|
|
|
|
DB::rollBack(); |
|
|
|
|
DB::commit(); |
|
|
|
|
return response()->json(['status' => 'success', "action" => "deleted", 'message' => 'Data activity successfully deleted!', 'code' => 200], 200); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|