diff --git a/providers/Discogs/api_types.ts b/providers/Discogs/api_types.ts index 73c57545..dbc780d0 100644 --- a/providers/Discogs/api_types.ts +++ b/providers/Discogs/api_types.ts @@ -91,7 +91,7 @@ export interface ReleaseFormat { /** Numeric quantity of the format. */ qty: string; /** Descriptions like size, speed, status etc. */ - descriptions: string[]; + descriptions?: string[] | null; /** Freeform text, may contain packaging. */ text?: string; } diff --git a/providers/Discogs/format.ts b/providers/Discogs/format.ts index e25766a5..e77f2ada 100644 --- a/providers/Discogs/format.ts +++ b/providers/Discogs/format.ts @@ -13,7 +13,7 @@ export function convertFormat(format: ReleaseFormat): Array