refactor(guild): prefix environment variables with FABRIC_BACKEND_GUILD
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export async function introspectGuildToken(token: string): Promise<{ active: boolean; user?: { id: string; email?: string } }> {
|
||||
const centerBaseUrl = process.env.CENTER_BASE_URL;
|
||||
const guildNodeId = process.env.GUILD_NODE_ID;
|
||||
const centerApiKey = process.env.CENTER_API_KEY;
|
||||
const centerBaseUrl = process.env.FABRIC_BACKEND_GUILD_CENTER_BASE_URL;
|
||||
const guildNodeId = process.env.FABRIC_BACKEND_GUILD_NODE_ID;
|
||||
const centerApiKey = process.env.FABRIC_BACKEND_GUILD_CENTER_API_KEY;
|
||||
|
||||
if (!centerBaseUrl || !guildNodeId || !centerApiKey) {
|
||||
return { active: false };
|
||||
|
||||
Reference in New Issue
Block a user