Skip to content

Commit

Permalink
fix: fetch challenge status
Browse files Browse the repository at this point in the history
  • Loading branch information
trickypr committed Feb 17, 2025
1 parent bbcf8ef commit 797f78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nocodb-integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const LIFE_MEMBER_ROLE_ID = "702889882598506558";
const CHALLENGE_25_ROLE_ID = "1340825498502041743";
const CSSA_SERVER_ID = process.env.CSSA_SERVER as Snowflake;
const DB_REQUEST_URL =
"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";
"https://db.cssa.club/api/v2/tables/mr98mt60g35hk2p/records?fields=id%2Cdiscord_username%2Clife_member%2Ccommittee%2Ccro%2Cchallenge_completion&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.");

Expand Down

0 comments on commit 797f78a

Please sign in to comment.