fix legacy changes
This commit is contained in:
@@ -81,7 +81,7 @@ export async function checkBotMembership(guildIds: string[]): Promise<boolean[]>
|
|||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
"X-API-Key": process.env.BOT_API_KEY as string
|
"X-API-Key": process.env.BOT_API_KEY as string
|
||||||
},
|
},
|
||||||
body: `{"guild_ids": [${guildIds.join(",")}]}`,
|
body: JSON.stringify({ guild_ids: guildIds }),
|
||||||
next: { revalidate: 0 } // Don't cache this as it might change
|
next: { revalidate: 0 } // Don't cache this as it might change
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user