Files
zkldi_Tachi/server/scripts/single-use/fix-chuni-port.ts
T
2021-08-10 04:28:43 +01:00

19 lines
266 B
TypeScript

import db from "../../src/db/db";
(async () => {
const charts = await db.charts.chunithm.find({});
for (const c of charts) {
await db.charts.chunithm.update(
{
_id: c._id,
},
{
$set: {
"data.inGameID": c.songID,
},
}
);
}
})();