We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Search all pages is not working because the array is not correctly formatted as object ( { } ), but as a array ( [ ] ).
The response from the Notion API is: body failed validation: body should be an object, instead was [].
body failed validation: body should be an object, instead was
.
Expected behavior Show a list of all pages
Code snippet
<? $notion = Notion::create("access_code"); $query = Query::all(); $notion->search()->search($query); ?>
Environment:
The text was updated successfully, but these errors were encountered:
fix(search): query all pages
37d98f3
Closes #210
Hi @rickyheijnen, thanks for reporting this bug!
I have fixed it and released a new version of the SDK.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
Search all pages is not working because the array is not correctly formatted as object ( { } ), but as a array ( [ ] ).
The response from the Notion API is:
body failed validation: body should be an object, instead was
[].
Expected behavior
Show a list of all pages
Code snippet
Environment:
The text was updated successfully, but these errors were encountered: