Browse Source

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

Owen Diffey 3 năm trước cách đây
mục cha
commit
1befbb5ebb
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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(