From ba5ae6ed04e3d6dce0f83fb8dc9d12931d1873db Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 9 Feb 2026 20:17:14 -0800 Subject: [PATCH] Fix errors --- server/private/routers/external.ts | 4 ++-- server/routers/newt/getNewtToken.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/private/routers/external.ts b/server/private/routers/external.ts index a2ffae05..74ca7872 100644 --- a/server/private/routers/external.ts +++ b/server/private/routers/external.ts @@ -280,7 +280,7 @@ authenticated.delete( authenticated.put( "/org/:orgId/login-page", verifyValidLicense, - verifyValidSubscription(tierMatrix.customAuthenticationDomain), + verifyValidSubscription(tierMatrix.loginPageDomain), verifyOrgAccess, verifyUserHasAction(ActionsEnum.createLoginPage), logActionAudit(ActionsEnum.createLoginPage), @@ -290,7 +290,7 @@ authenticated.put( authenticated.post( "/org/:orgId/login-page/:loginPageId", verifyValidLicense, - verifyValidSubscription(tierMatrix.customAuthenticationDomain), + verifyValidSubscription(tierMatrix.loginPageDomain), verifyOrgAccess, verifyLoginPageAccess, verifyUserHasAction(ActionsEnum.updateLoginPage), diff --git a/server/routers/newt/getNewtToken.ts b/server/routers/newt/getNewtToken.ts index 8f7e01d2..63797358 100644 --- a/server/routers/newt/getNewtToken.ts +++ b/server/routers/newt/getNewtToken.ts @@ -18,7 +18,7 @@ import config from "@server/lib/config"; import { APP_VERSION } from "@server/lib/consts"; export const newtGetTokenBodySchema = z.object({ - // newtId: z.string(), + newtId: z.string(), secret: z.string(), token: z.string().optional() });