We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e10051 commit 4a22cb4Copy full SHA for 4a22cb4
apps/api/src/app/inbox/usecases/session/session.usecase.ts
@@ -111,7 +111,8 @@ export class Session {
111
const token = await this.authService.getSubscriberWidgetToken(subscriber);
112
113
const removeNovuBranding = inAppIntegration.removeNovuBranding || false;
114
- const maxSnoozeDurationHours = await this.getMaxSnoozeDurationHours(environment);
+ const maxSnoozeDurationHours =
115
+ process.env.NOVU_ENTERPRISE === 'true' ? await this.getMaxSnoozeDurationHours(environment) : 0;
116
117
/**
118
* We want to prevent the playground inbox demo from marking the integration as connected
0 commit comments