codecyclernl / notion-php-sdk

Notion PHP SDK
MIT License
44 stars 17 forks source link

Undefined "ray()" function #19

Open p-cauty opened 2 years ago

p-cauty commented 2 years ago

Hi, I cannot send a new page request as an undefined function is being used here :

https://github.com/codecyclernl/notion-php-sdk/blob/965ab2e013dd226fdc955a9dc395efcf22611cb7/src/Notion/Objects/Page.php#L68

Maybe I'm missing something? Let me know! Thank you.

riyuk commented 2 years ago

you can resolve this by: composer require spatie/laravel-ray

There is also a pull request which resolves this #17