From 19a3d3cc7501648800998a69ce36c2b8f955d243 Mon Sep 17 00:00:00 2001 From: trickypr Date: Tue, 11 Feb 2025 20:01:05 +1100 Subject: [PATCH] feat: move to 2025 membership database --- src/nocodb-integration.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nocodb-integration.ts b/src/nocodb-integration.ts index 153f731..c185641 100644 --- a/src/nocodb-integration.ts +++ b/src/nocodb-integration.ts @@ -12,7 +12,7 @@ const MEMBER_ROLE_ID = "753524901708693558"; const LIFE_MEMBER_ROLE_ID = "702889882598506558"; const CSSA_SERVER_ID = process.env.CSSA_SERVER as Snowflake; const DB_REQUEST_URL = - "https://db.cssa.club/api/v2/tables/mj43d15qwi3hi8p/records?fields=id%2Cdiscord_username%2Clife_member%2Ccommittee%2Ccro&where=where%3D%28discord_username%2Cisnot%2Cnull%29&limit=1000&shuffle=0&offset=0"; + "https://db.cssa.club/api/v2/tables/mr98mt60g35hk2p/records?fields=id%2Cdiscord_username%2Clife_member%2Ccommittee%2Ccro&where=where%3D%28discord_username%2Cisnot%2Cnull%29&limit=1000&shuffle=0&offset=0"; if (!CSSA_SERVER_ID) throw new Error("CSSA_SERVER not set."); @@ -199,7 +199,7 @@ export async function attachNocoDBWebhookListener(expressApp: Express) { ); } -class MemberNotFoundError extends Error {} +class MemberNotFoundError extends Error { } async function getUser(rawUsername: string): Promise { const [username, discriminator] = transformUsername(rawUsername);