We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4b610b commit ed74fbcCopy full SHA for ed74fbc
lib/coverartarchive-api.ts
@@ -39,7 +39,7 @@ export class CoverArtArchiveApi {
39
});
40
41
const contentType = response.headers.get("Content-Type");
42
- if (contentType?.toLowerCase() !== "application/json" && response.status === 404) {
+ if (response.status === 404 && contentType?.toLowerCase() !== "application/json") {
43
return {
44
"error": "Not Found",
45
"help": "For usage, please see: https://musicbrainz.org/development/mmd"
0 commit comments