Browse Source

Fixed invalid thumbnail on songs

Owen Diffey 8 years ago
parent
commit
5633456bd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/logic/db/index.js

+ 1 - 1
backend/logic/db/index.js

@@ -153,7 +153,7 @@ let lib = {
 			lib.schemas.queueSong.path('genres').validate(songGenres, 'Invalid genres.');
 
 			lib.schemas.song.path('thumbnail').validate((thumbnail) => {
-				return isLength(thumbnail, 8, 256);
+				return isLength(thumbnail, 0, 256);
 			}, 'Invalid thumbnail.');
 			lib.schemas.queueSong.path('thumbnail').validate((thumbnail) => {
 				return isLength(thumbnail, 0, 256);