mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:07:07 +02:00
Request JSON from server
This commit is contained in:
parent
f70ecdad16
commit
144771b77b
1 changed files with 2 additions and 2 deletions
|
@ -197,11 +197,11 @@ function AppUi(properties) {
|
||||||
} else {
|
} else {
|
||||||
concatenatedServerResponse = concatenatedServerResponse.concat(that.notificationDataProcessPage(response));
|
concatenatedServerResponse = concatenatedServerResponse.concat(that.notificationDataProcessPage(response));
|
||||||
currentDataPageToRetrieve++;
|
currentDataPageToRetrieve++;
|
||||||
request({ uri: (url + "&page=" + currentDataPageToRetrieve) }, requestCallback);
|
request({ json: true, uri: (url + "&page=" + currentDataPageToRetrieve) }, requestCallback);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
request({ uri: url }, requestCallback);
|
request({ json: true, uri: url }, requestCallback);
|
||||||
};
|
};
|
||||||
|
|
||||||
// This won't do anything if there isn't a notification endpoint set
|
// This won't do anything if there isn't a notification endpoint set
|
||||||
|
|
Loading…
Reference in a new issue