-
Notifications
You must be signed in to change notification settings - Fork 4k
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(api-service): patch subscriber preferences v2 endpoint #7629
Conversation
@@ -51,61 +46,44 @@ describe('Get Subscriber Preferences - /subscribers/:subscriberId/preferences (G | |||
expect(response.statusCode).to.equal(404); | |||
}); | |||
|
|||
it('should handle subscriber with modified workflow preferences', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed GET&PATCH overlapping tests from GET endpoint and replaced them with tests testing unique GET behaviour
@novu/client
@novu/node
@novu/headless
@novu/notification-center
novu
@novu/providers
@novu/shared
commit: |
channels: PatchPreferenceChannelsDto; | ||
|
||
@ApiProperty({ | ||
description: 'If provided, update workflow specific preferences, otherwise update global preferences', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
…patchput-preferences-endpoint
✅ Deploy Preview for dev-web-novu ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for dashboard-v2-novu-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
What changed? Why was the change needed?
TODO: