Skip to content

Commit

Permalink
fix technique detail
Browse files Browse the repository at this point in the history
  • Loading branch information
guyutongxue committed Aug 30, 2024
1 parent ed3f433 commit 03a3213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v2/data/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { characters, entities, actionCards, keywords } from "@gi-tcg/static-data
* @typedef {import("@vercel/node").VercelResponse} VercelResponse
*/

const skills = characters.flatMap((ch) => ch.skills);
const skills = [...characters, ...entities].flatMap((ch) => ch.skills);

/**
*
Expand Down

0 comments on commit 03a3213

Please sign in to comment.