Forráskód Böngészése

fix: Migration 18 playlist and queue song durations not always numeric

Owen Diffey 3 éve
szülő
commit
1befbb5ebb
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      backend/logic/migration/migrations/migration18.js

+ 2 - 2
backend/logic/migration/migrations/migration18.js

@@ -130,8 +130,8 @@ export default async function migrate(MigrationModule) {
 										title,
 										artists,
 										thumbnail,
-										duration,
-										skipDuration,
+										duration: +duration,
+										skipDuration: +skipDuration,
 										verified
 									};
 									async.waterfall(