Explorar el Código

refactor: remove compatibility of video thumbnails

Casper Dai hace 3 años
padre
commit
c97e18c508
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/api/asset.js

+ 1 - 1
src/api/asset.js

@@ -24,7 +24,7 @@ export function getAssets (query) {
         item.thumbnail = item.keyName
       }
       if (item.type === AssetType.VIDEO && item.screenshot) {
-        item.thumbnail = item.screenshot === 'analyzing' ? void 0 : `img/${item.screenshot}`
+        item.thumbnail = item.screenshot === 'analyzing' ? void 0 : item.screenshot
       }
     })
     return {