Skip to content

Conversation

@wai-chuen
Copy link
Contributor

Resolves #180

Guest users have an empty space dict in the /loadUserContent response where we normally fetch the space details. This change calls the /getPublicSpaceData endpoint with the space_id of the workspace the guest user has been invited to, to fetch the data when this occurs.

Could be pretty brittle as I've only tested it on my use case!

@jamalex
Copy link
Owner

jamalex commented Feb 5, 2021

Great, thanks! It looks pretty solid, and in any case unlikely to cause any failures for cases that wouldn't be failing already due to the issue this addresses, so let's give it a try and fix if anything comes up.

giphy

@jamalex jamalex merged commit 4f4a6e2 into jamalex:master Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IndexError when initializing NotionClient

2 participants