You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the property of "Authors" set up in the table database, and the type is set to "Person".
However, I do not see any "Writer" name on the actual post.
See the screenshot attached:
The text was updated successfully, but these errors were encountered:
Hi, I solved the problem in the following way: I was debugging each function until I reached that point. The error is that probably Notion has changed the way it sends the JSON. The error is located at the following route:
src/lib/getNotionUser.ts
As the JSON response changed, it now looks like this, because there is no key in the object with that name. So I just changed the destructuring of GIVEN_NAME and FAMILY_NAME to NAME and this is the result that the response currently gives.
And here is the demonstration that it worked:
Probably you have already solved it, but I leave it for future people. This is my first time doing this on Github 👌.
Hi, I solved the problem in the following way: I was debugging each function until I reached that point. The error is that probably Notion has changed the way it sends the JSON. The error is located at the following route:
src/lib/getNotionUser.ts
As the JSON response changed, it now looks like this, because there is no key in the object with that name. So I just changed the destructuring of GIVEN_NAME and FAMILY_NAME to NAME and this is the result that the response currently gives.
And here is the demonstration that it worked:
Probably you have already solved it, but I leave it for future people. This is my first time doing this on Github ok_hand.
I have the property of "Authors" set up in the table database, and the type is set to "Person".
However, I do not see any "Writer" name on the actual post.
See the screenshot attached:
The text was updated successfully, but these errors were encountered: