-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(addContribution): Make addContribution action calculate wordcoun…
…t for every Notion doc when invoked and improve error handling This commit simplifies the getIdFromUrl function by directly returning the match or null. Additionally, it improves error handling and uses Math.max to ensure non-negative counts in contributions.
- Loading branch information
Showing
2 changed files
with
78 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters