Skip to content

Commit

Permalink
Merge pull request #10 from utxostack/fix/vercel-request
Browse files Browse the repository at this point in the history
Fix vercel request error
  • Loading branch information
duanyytop authored Jan 8, 2025
2 parents e36d8ba + a00e186 commit 7b616af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/cell-deps.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { VercelResponse } from '@vercel/node';
import type { VercelRequest, VercelResponse } from '@vercel/node';
import { ZodError } from 'zod';
import { fetchCellDeps } from "../src/index"

export default async function handler(res: VercelResponse) {
export default async function handler(_req: VercelRequest, res: VercelResponse) {
try {
const cellDeps = await fetchCellDeps();
return res.json(JSON.parse(cellDeps));
Expand Down

0 comments on commit 7b616af

Please sign in to comment.