incognitolm commited on
Commit
a487092
·
1 Parent(s): 0f84d64

Update auth.js

Browse files
Files changed (1) hide show
  1. server/auth.js +0 -7
server/auth.js CHANGED
@@ -100,13 +100,6 @@ export async function getUsageInfo(accessToken, clientId = '') {
100
  if (clientId) h['X-Client-ID'] = clientId;
101
  const r = await fetch('https://sharktide-lightning.hf.space/usage', { headers: h });
102
  const payload = r.ok ? await r.json() : null;
103
- console.log('[Usage API]', JSON.stringify({
104
- ok: r.ok,
105
- status: r.status,
106
- clientId: clientId || null,
107
- hasAuth: !!accessToken,
108
- payload,
109
- }));
110
  return payload;
111
  } catch (err) {
112
  console.error('[Usage API] request failed:', err.message);
 
100
  if (clientId) h['X-Client-ID'] = clientId;
101
  const r = await fetch('https://sharktide-lightning.hf.space/usage', { headers: h });
102
  const payload = r.ok ? await r.json() : null;
 
 
 
 
 
 
 
103
  return payload;
104
  } catch (err) {
105
  console.error('[Usage API] request failed:', err.message);