[F] Fix formatting issues
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ class Artwork
|
|||||||
if (json.video == null) json.video = type.video;
|
if (json.video == null) json.video = type.video;
|
||||||
|
|
||||||
// Check image null case
|
// Check image null case
|
||||||
let base = json.date.split(' ').join('-') + json.title.split(' ')[0].toLowerCase() + '/';
|
let base = json.date.split(' ').join('-') + '-' + json.title.split(' ')[0].toLowerCase() + '/';
|
||||||
if (json.file == null) json.file = base + 'public.' + json.format;
|
if (json.file == null) json.file = base + 'public.' + json.format;
|
||||||
if (json.thumbnail == null) json.thumbnail = base + 'thumb.' + json.format;
|
if (json.thumbnail == null) json.thumbnail = base + 'thumb.' + json.format;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user