fixed type error
This commit is contained in:
@ -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({
|
||||
select: {
|
||||
|
Reference in New Issue
Block a user