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(node): add deleteByTransactionId method #6980

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

jainpawan21
Copy link
Member

What changed? Why was the change needed?

  • Add deleteByTransactionId method

Screenshots

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for novu-stg-vite-dashboard-poc ready!

Name Link
🔨 Latest commit f1bf1d2
🔍 Latest deploy log https://app.netlify.com/sites/novu-stg-vite-dashboard-poc/deploys/673443459feb16000851ab8f
😎 Deploy Preview https://deploy-preview-6980--novu-stg-vite-dashboard-poc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

*
* @param {string} transactionId - The unique identifier of the event whose notifications will be deleted.
*/
async deleteByTransactionId(transactionId: string) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Shall I rename this method to deleteMessagesBytTransactionId to highlight that all messages related to this transactionId will be deleted?

Copy link
Contributor

Choose a reason for hiding this comment

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

No, it's already on the messaged domain. So I think it's totally fine

@jainpawan21 jainpawan21 merged commit c048619 into next Nov 13, 2024
29 checks passed
@jainpawan21 jainpawan21 deleted the feature/add-delete-messages-by-transaction-id branch November 13, 2024 13:00
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.

2 participants