Brozy123 commited on
Commit
be3b293
·
verified ·
1 Parent(s): 6b8b118

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -253,7 +253,7 @@ app.get('/api/stats', requireAuth, (req, res) => {
253
 
254
  // --- Server List ---
255
  // --- Server List (shared with bot + permissions) ---
256
- app.get('/api/servers', requireAuth, (req, res) => {
257
  if (!discordClient || !discordClient.isReady()) return res.json([]);
258
 
259
  const userGuilds = req.dashSession.guilds || [];
 
253
 
254
  // --- Server List ---
255
  // --- Server List (shared with bot + permissions) ---
256
+ app.get('/api/servers', requireAuth, async (req, res) => {
257
  if (!discordClient || !discordClient.isReady()) return res.json([]);
258
 
259
  const userGuilds = req.dashSession.guilds || [];