Skip to content

Commit 20232ac

Browse files
scopsycursoragent
andauthored
fix(api-service): use NOVU_INTERNAL_SECRET_KEY for agents early access trigger (#10688)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 5de6ee7 commit 20232ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/api/src/app/support/support.controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ export class SupportController {
3737
const organization = await this.organizationRepository.findById(user.organizationId);
3838
const organizationName = organization?.name ?? '';
3939

40-
const secretKey = process.env.NOVU_SECRET_KEY;
40+
const secretKey = process.env.NOVU_INTERNAL_SECRET_KEY;
4141

4242
if (!secretKey) {
43-
this.logger.warn('NOVU_SECRET_KEY is not set; skipping early-access-request-agents-internal-email trigger');
43+
this.logger.warn('NOVU_INTERNAL_SECRET_KEY is not set; skipping early-access-request-agents-internal-email trigger');
4444

4545
return {
4646
success: true,

0 commit comments

Comments
 (0)