Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Return white label addon in api response

Luke Vellaf714e6537116
diff --git a/apps/web/src/app/api/licensing/v1/[...route]/route.ts b/apps/web/src/app/api/licensing/v1/[...route]/route.ts
index 34ce3c18e..067aaa01d 100644
--- a/apps/web/src/app/api/licensing/v1/[...route]/route.ts
+++ b/apps/web/src/app/api/licensing/v1/[...route]/route.ts
@@ -140,6 +140,7 @@ app.post(
seats: license.seats,
type: license.type,
version: license.version,
+ whiteLabelAddon: license.whiteLabelAddon,
},
} satisfies ValidateLicenseKeyResponse);
},
diff --git a/apps/web/src/features/licensing/schema.ts b/apps/web/src/features/licensing/schema.ts
index 7f27f70ff..fe61f27c7 100644
--- a/apps/web/src/features/licensing/schema.ts
+++ b/apps/web/src/features/licensing/schema.ts
@@ -70,6 +70,7 @@ export const validateLicenseKeyResponseSchema = apiResponseSchema(
seats: z.coerce.number().nullable(),
type: licenseTypeSchema,
version: z.coerce.number().nullable(),
+ whiteLabelAddon: z.boolean(),
}),
);