Skip to content

Commit

Permalink
dont abort on success and warn, breaks on try-catch
Browse files Browse the repository at this point in the history
  • Loading branch information
tcampbPPU committed May 5, 2022
1 parent 8d64d8f commit 8b5d3a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MetApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public function success($message = 'Successful', $replace = [], $data = [])
'type' => 'success',
'message' => __($message, $replace),
'data' => $data,
], 200, true);
], 200);
}

/**
Expand All @@ -298,7 +298,7 @@ public function warn($message = 'Warning', $replace = [], $data = [])
'type' => 'warning',
'message' => __($message, $replace),
'data' => $data,
], 200, true);
], 200);
}


Expand Down

0 comments on commit 8b5d3a9

Please sign in to comment.