We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a822cff commit d77179dCopy full SHA for d77179d
worker/src/index.ts
@@ -149,7 +149,7 @@ app.get('/api/openapi.json', (c) => {
149
app.get('/api/agents/list', async (c) => {
150
try {
151
const results = await c.env.DB.prepare(
152
- 'SELECT handle FROM agents WHERE handle NOT LIKE \'0x%\' ORDER BY created_at DESC LIMIT 500'
+ 'SELECT handle FROM accounts WHERE handle NOT LIKE \'0x%\' ORDER BY created_at DESC LIMIT 500'
153
).all();
154
const handles = results.results.map((r: any) => r.handle);
155
return c.json({ handles }, 200, { 'Cache-Control': 'public, max-age=3600' });
0 commit comments