fixed type error

This commit is contained in:
Polaris
2024-08-24 11:48:10 -04:00
parent fcbfce9ea9
commit ff648ebf93

View File

@ -73,7 +73,9 @@ export async function getMapIcons() {
}, },
}); });
const unlockedMapIcons = checkIfMapIconIsUnlocked.map((item) => item.itemId); const unlockedMapIcons = checkIfMapIconIsUnlocked.map((item) =>
Number(item.itemId),
);
const AllMapIcons = await artemis.cozynet_chuni_static_mapicon.findMany({ const AllMapIcons = await artemis.cozynet_chuni_static_mapicon.findMany({
select: { select: {