Merge pull request #799 from DioEgizio/fix-oopsie
fix websiteurl in cf modpacks (part 2)
This commit is contained in:
commit
c527ea83fb
@ -53,7 +53,7 @@ void Flame::loadIndexedInfo(IndexedPack& pack, QJsonObject& obj)
|
|||||||
{
|
{
|
||||||
auto links_obj = Json::ensureObject(obj, "links");
|
auto links_obj = Json::ensureObject(obj, "links");
|
||||||
|
|
||||||
pack.extra.websiteUrl = Json::ensureString(links_obj, "issuesUrl");
|
pack.extra.websiteUrl = Json::ensureString(links_obj, "websiteUrl");
|
||||||
if(pack.extra.websiteUrl.endsWith('/'))
|
if(pack.extra.websiteUrl.endsWith('/'))
|
||||||
pack.extra.websiteUrl.chop(1);
|
pack.extra.websiteUrl.chop(1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user