Fixed format
This commit is contained in:
@@ -224,7 +224,7 @@ namespace lms::db
|
||||
throw Exception{ "Label name is too long: " + std::string{ name } + "'" };
|
||||
}
|
||||
|
||||
Label::pointer Label::create(Session& session, std::string_view name)
|
||||
Label::pointer Label::create(Session& session, std::string_view name)
|
||||
{
|
||||
return session.getDboSession()->add(std::unique_ptr<Label>{ new Label{ name } });
|
||||
}
|
||||
|
||||
@@ -195,8 +195,7 @@ namespace lms::api::subsonic
|
||||
}
|
||||
|
||||
albumNode.createEmptyArrayChild("recordLabels");
|
||||
release->visitLabels([&](const Label::pointer& label)
|
||||
{
|
||||
release->visitLabels([&](const Label::pointer& label) {
|
||||
albumNode.addArrayChild("recordLabels", createRecordLabel(label));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user