Skip to content

Commit

Permalink
Die was causing forbidden message.
Browse files Browse the repository at this point in the history
  • Loading branch information
incraigulous committed Apr 8, 2024
1 parent a12e97e commit 6c5f8d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Middleware/Render.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function renderJson(Response $response): void
return;
}
$response->send();
die;
exit;
}

/**
Expand All @@ -70,7 +70,7 @@ protected function render(Response $response): void
}
if ($response->getStatusCode() === 200) {
$response->send();
die;
exit;
}
}
}

0 comments on commit 6c5f8d3

Please sign in to comment.