Allow feed labels in config
This commit is contained in:
@@ -660,6 +660,12 @@ bool applyConfigFile(
|
||||
feed.kind = FeedKind::MxlSdk;
|
||||
}
|
||||
|
||||
if (const std::string* label =
|
||||
jsonString(objectField(*feedObject, "label")))
|
||||
{
|
||||
feed.label = *label;
|
||||
}
|
||||
|
||||
config.feeds[i] = std::move(feed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user