Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guyutongxue committed Jan 22, 2025
1 parent ac4a631 commit 16d93f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion api/v2/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ export const all = [...characters, ...actionCards, ...skills, ...sortedEntities,
*/
export default function handler(req, res) {
return res.status(200).json(all);
}
}

export { keywords };
3 changes: 1 addition & 2 deletions api/v2/data/[id].js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-check

import { keywords } from "@gi-tcg/static-data";
import { all } from "../data.js";
import { all, keywords } from "../data.js";

/**
* @typedef {import("@vercel/node").VercelRequest} VercelRequest
Expand Down

0 comments on commit 16d93f2

Please sign in to comment.