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

fix(framework): add locale to subscriber #6165

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Conversation

L-U-C-K-Y
Copy link
Contributor

What changed? Why was the change needed?

I would like to access the locale of a subscriber within a workflow.

I have tested it on my computer and with a locale set, I am successfully able to access it.
This is basically a type update.


Not sure if related, but I saw that the following files also have a subscriber type, where it could be added.
For my use-case, within the framework is already enough and working.

apps/api/src/app/inbox/utils/types.ts
packages/js/src/types.ts

Screenshots

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

Copy link
Contributor

@rifont rifont left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! We will release this today.

@rifont rifont merged commit ffb7cc2 into novuhq:next Aug 16, 2024
8 of 10 checks passed
@rifont
Copy link
Contributor

rifont commented Aug 16, 2024

Published in @novu/framework@2.0.0-canary.6 🎉

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