diff --git a/app/api/teams/[teamId]/image/route.tsx b/app/api/teams/[teamId]/image/route.tsx index ab2b8ab..f6d04da 100644 --- a/app/api/teams/[teamId]/image/route.tsx +++ b/app/api/teams/[teamId]/image/route.tsx @@ -4,6 +4,7 @@ import sharp from "sharp"; import { elementBackgroundColor } from "@/lib/catalog/element"; import { rarityGradient } from "@/lib/catalog/rarity"; +import { isCustomTravelerKey } from "@/lib/catalog/travelers"; import { getCachedPublicTeamExport } from "@/lib/cache/public"; import { imageContentDisposition } from "@/lib/guides/export-image"; @@ -103,17 +104,17 @@ export async function GET( const damage = Number(member.damage); const percent = total > 0 ? (damage / total) * 100 : 0; return ( -