Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(notes): Improve handling of deleted note blocks #522

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

dvanoni
Copy link
Owner

@dvanoni dvanoni commented Jun 21, 2024

When syncing notes into a container block that had been deleted, it appears the Notion API could return either a "not found" error or a validation error with a message about the block being "archived." This fix attempts to handle both cases whereas we previously only handled the "not found" case.

Copy link
Contributor

🤖 Build Bot

✅ Successful build

⬇️ Download: notero-0.5.17-467

@dvanoni dvanoni merged commit 6b04dc2 into main Jun 21, 2024
5 checks passed
@dvanoni dvanoni deleted the note-syncing-fixes branch June 21, 2024 06:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant