@@ -74,7 +74,9 @@ class onesignalhelper
|
||||
'image' => $imagePath,
|
||||
|
||||
]);
|
||||
Log::info('success'. $newRecord);
|
||||
} catch (\Exception $e) {
|
||||
Log::info('error'. $e);
|
||||
// Return response in case of error
|
||||
return response()->json([
|
||||
'status' => 500,
|
||||
|
||||
Reference in New Issue
Block a user