@redseat/api 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/library.js +0 -3
- package/package.json +1 -1
package/dist/library.js
CHANGED
|
@@ -509,9 +509,6 @@ export class LibraryApi {
|
|
|
509
509
|
*/
|
|
510
510
|
async uploadMedia(data, options) {
|
|
511
511
|
// Validate: thumbnails can only be specified for encrypted libraries
|
|
512
|
-
if (options.thumb && this.library.crypt !== true) {
|
|
513
|
-
throw new Error('Thumbnails can only be specified for encrypted libraries.');
|
|
514
|
-
}
|
|
515
512
|
// Check library configuration
|
|
516
513
|
if (this.library.crypt === true) {
|
|
517
514
|
if (!this.key) {
|