minor cleanup
This commit is contained in:
@@ -532,8 +532,7 @@ namespace lms::api::subsonic
|
|||||||
if (!artist)
|
if (!artist)
|
||||||
throw RequestedDataNotFoundError{};
|
throw RequestedDataNotFoundError{};
|
||||||
|
|
||||||
std::optional<core::UUID> artistMBID{ artist->getMBID() };
|
if (const std::optional<core::UUID> artistMBID{ artist->getMBID() })
|
||||||
if (artistMBID)
|
|
||||||
{
|
{
|
||||||
switch (context.responseFormat)
|
switch (context.responseFormat)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user