Skip to content

Commit

Permalink
OK
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk committed Nov 5, 2021
1 parent 63ffa4d commit 11a9a92
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ function data(mixed $data = [], int $status = 200, array $headers = [], $options
], $status, $headers, $options);
}
}

if (! function_exists('ok')) {
function ok()
{
return response('', 204);
}
}

0 comments on commit 11a9a92

Please sign in to comment.