diff --git a/src/pages/api/test/001.ts b/src/pages/api/test/001.ts deleted file mode 100644 index eebd1705..00000000 --- a/src/pages/api/test/001.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { withCaughtErrors } from '@/backend/handlers'; -import { LPQuerier } from '@/backend/indexer'; -import { NextApiRequest, NextApiResponse } from 'next'; - -const ID = 'plpid1gy5kfyg94ad4yj3wq899h6tu40f47t0t08g9fkcmjq59lv9lu20qdq2vep'; - -async function test(_req: NextApiRequest, res: NextApiResponse): Promise { - const lps = LPQuerier.fromEnv(); - res.status(200).json(await lps.updates(ID)); -} - -export default withCaughtErrors('test/001', test); diff --git a/src/pages/api/test/002.ts b/src/pages/api/test/002.ts deleted file mode 100644 index cda667f3..00000000 --- a/src/pages/api/test/002.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { withCaughtErrors } from '@/backend/handlers'; -import { BlockQuerier } from '@/backend/indexer'; -import { NextApiRequest, NextApiResponse } from 'next'; - -async function test(_req: NextApiRequest, res: NextApiResponse): Promise { - const blocks = BlockQuerier.fromEnv(); - res.status(200).json(await blocks.blocks({ last: 20 })); -} - -export default withCaughtErrors('test/002', test);