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);