Function artist_response

Source
pub fn artist_response(response: &Json, mbid: &str) -> Result<(), String>
Expand description

Refuses a response whose identity does not match the artist requested.

Fanart.tv v3.2 guarantees mbid_id on artist answers. Without this guard, an error object or a changed response shape reads indistinguishably from “this artist has no logo”.