Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: add a webhook action for deleted memos #2791

Merged
merged 2 commits into from Jan 19, 2024
Merged

feat: add a webhook action for deleted memos #2791

merged 2 commits into from Jan 19, 2024

Conversation

ertuil
Copy link
Contributor

@ertuil ertuil commented Jan 19, 2024

Add a webhook when the memos are deleted. Currently, the webhooks are only triggered when the memos are created (C) or updated (U). But the webhook for deleting (D) is missing. I think it is better for the webhook to activate for the entire CURD procedures.

I love memos, and use it heavily. However, I need it to send me a notice as a reminder, like issue #858. I realize that this function is in the roadmap, but I cannot wait to have it. As a result, I recently worked on my community tool memos-reminder as a temporary solution. It reads memos using the webhook API, and reads some date/time tags in it, and then sends me reminder emails.

However, I find that the current webhook is not completed, as it will not notify my memos-reminder to delete the related timers when the memos are deleted.

@ertuil ertuil requested a review from boojack as a code owner January 19, 2024 01:47
@ertuil ertuil changed the title Add a webhook action for deleted memos feat: add a webhook action for deleted memos Jan 19, 2024
Copy link
Collaborator

@boojack boojack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@boojack boojack merged commit 2e0619b into usememos:main Jan 19, 2024
5 checks passed
MehadND pushed a commit to MehadND/memos that referenced this pull request Jan 21, 2024
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.

None yet

2 participants