Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 committed Sep 10, 2024
1 parent 212726c commit 182573d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/routes/diamond/[address]/json/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,12 @@ export const GET: RequestHandler = async ({ params, url, locals }) => {

sqlite.close()

return new Response(
JSON.stringify({
chain: network,
diamond,
diamondAbi,
}),
)
return json({ msg: 'ok' })
// return json({
// chain: network,
// diamond,
// diamondAbi,
// })
} catch (e) {
console.error(e)
throw error(400, { message: 'Unable to fetch diamond details' })
Expand Down

0 comments on commit 182573d

Please sign in to comment.