forgot to commit in a while
This commit is contained in:
@@ -277,6 +277,7 @@ public:
|
||||
void getJSON(FinishedCallback onFinished)
|
||||
{
|
||||
this->get([onFinished{std::move(onFinished)}](const QByteArray &bytes)->bool {
|
||||
|
||||
auto object = parseJSONFromData(bytes);
|
||||
onFinished(object);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user