From 327e2570937075f0536b48de704608718b964d91 Mon Sep 17 00:00:00 2001 From: Rami Abdou Date: Tue, 16 Sep 2025 08:38:16 -0700 Subject: [PATCH] hard code the domain --- packages/core/src/modules/referrals/referrals.types.ts | 1 + packages/types/src/domain/application.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/core/src/modules/referrals/referrals.types.ts b/packages/core/src/modules/referrals/referrals.types.ts index 841306d55..cec07491c 100644 --- a/packages/core/src/modules/referrals/referrals.types.ts +++ b/packages/core/src/modules/referrals/referrals.types.ts @@ -20,6 +20,7 @@ export const ReferFriendInput = z.object({ return ( value.endsWith('.edu') || value.endsWith('.ca') || + value.endsWith('indianatech.net') || value.endsWith('mymdc.net') || value.endsWith('@colorstack.org') ); diff --git a/packages/types/src/domain/application.ts b/packages/types/src/domain/application.ts index d259c92e6..a426c4b6a 100644 --- a/packages/types/src/domain/application.ts +++ b/packages/types/src/domain/application.ts @@ -43,6 +43,7 @@ export const Application = Student.pick({ return ( value.endsWith('.edu') || value.endsWith('.ca') || + value.endsWith('indianatech.net') || value.endsWith('mymdc.net') || value.endsWith('@colorstack.org') );