forked from andyburke/autonomous.contact
refactor: first pass on getting the client back into working order
(still broken, but loading as a baseline)
This commit is contained in:
parent
a5707e2f81
commit
afeb6f75e8
23 changed files with 358 additions and 322 deletions
|
|
@ -19,7 +19,7 @@ export async function GET(_req: Request, meta: Record<string, any>): Promise<Res
|
|||
const limit = Math.min(parseInt(meta.query.limit ?? '100'), 100);
|
||||
const channels = (await CHANNELS.all({
|
||||
limit
|
||||
})).map((topic_entry) => topic_entry.load());
|
||||
})).map((channel_entry) => channel_entry.load());
|
||||
|
||||
return Response.json(channels, {
|
||||
status: 200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue