Browse Source

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

Owen Diffey 3 years ago
parent
commit
1befbb5ebb
1 changed files with 2 additions and 2 deletions
  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(