I'm playing with the API, working on setting up a scheduler that links Notion to other platforms, using this SDK.
It seems to me that "removePropertyByName" doesn't do anything when updating a database. It works within the confines of the SDK, var_dump-ing the database before performing a $notion->databases()->update($database); shows that the Object no longer has that specific property, however the save doesn't actually remove the property.
It works fine for adding properties to an existing database, but removing them doesn't work.
Hi,
I'm playing with the API, working on setting up a scheduler that links Notion to other platforms, using this SDK.
It seems to me that "removePropertyByName" doesn't do anything when updating a database. It works within the confines of the SDK, var_dump-ing the database before performing a $notion->databases()->update($database); shows that the Object no longer has that specific property, however the save doesn't actually remove the property.
It works fine for adding properties to an existing database, but removing them doesn't work.
Any thoughts?