Silly me!
This commit is contained in:
parent
4e928325da
commit
aa0764aac5
@ -172,7 +172,8 @@ QJsonObject recurseAndReplace(QJsonObject &body, QByteArray &data, QString conte
|
|||||||
QString str = v.toString();
|
QString str = v.toString();
|
||||||
if (str.startsWith("/") && str.endsWith("/")) {
|
if (str.startsWith("/") && str.endsWith("/")) {
|
||||||
o.insert(s, str.replace("%image", data).replace("%contenttype", contentType));
|
o.insert(s, str.replace("%image", data).replace("%contenttype", contentType));
|
||||||
}
|
} else
|
||||||
|
o.insert(s, v);
|
||||||
} else
|
} else
|
||||||
o.insert(s, v);
|
o.insert(s, v);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user