diff --git a/src/Exceptions/NotionException.php b/src/Exceptions/NotionException.php index 846ccfc..071ec58 100644 --- a/src/Exceptions/NotionException.php +++ b/src/Exceptions/NotionException.php @@ -46,7 +46,7 @@ public static function fromResponse(Response $response): NotionException return new NotionException( $message, - 0, + $response->status(), $response->toException() ); }