refactor(guild): prefix environment variables with FABRIC_BACKEND_GUILD

This commit is contained in:
nav
2026-05-13 12:58:32 +00:00
parent 392534a6ac
commit fdb661f32b
5 changed files with 30 additions and 30 deletions

View File

@@ -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 };