Skip to content

Commit

Permalink
fix: get subscriber preference parameter swagger value
Browse files Browse the repository at this point in the history
  • Loading branch information
jainpawan21 committed Oct 15, 2024
1 parent 673346b commit 71dd779
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/api/src/app/subscribers/subscribers.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
ApiRateLimitCostEnum,
ButtonTypeEnum,
ChatProviderIdEnum,
TriggerRecipientsTypeEnum,
UserSessionData,
} from '@novu/shared';
import { MessageEntity, PreferenceLevelEnum } from '@novu/dal';
Expand Down Expand Up @@ -421,9 +420,9 @@ export class SubscribersController {
@ApiParam({
name: 'parameter',
type: String,
enum: TriggerRecipientsTypeEnum,
enum: PreferenceLevelEnum,
required: true,
description: 'the preferences level to be retrieved( Subscriber / Topic) ',
description: 'the preferences level to be retrieved (template / global) ',
})
@SdkGroupName('Subscribers.Preferences')
@SdkMethodName('retrieveByLevel')
Expand Down

0 comments on commit 71dd779

Please sign in to comment.