mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-31 00:49:53 +02:00
typo, and more conservative item limit
This commit is contained in:
parent
9b61e8c4ad
commit
699d1647ca
1 changed files with 2 additions and 2 deletions
|
@ -360,7 +360,7 @@ function getProfilePicture(username, callback) { // callback(url) if successfull
|
||||||
callback(matched[1]);
|
callback(matched[1]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
var SAFETY_LIMIT = 600;
|
var SAFETY_LIMIT = 400;
|
||||||
function getAvailableConnections(domain, callback) { // callback([{usename, location}...]) if successfull. (Logs otherwise)
|
function getAvailableConnections(domain, callback) { // callback([{usename, location}...]) if successfull. (Logs otherwise)
|
||||||
var url = METAVERSE_BASE + '/api/v1/users?per_page=' + SAFETY_LIMIT + '&';
|
var url = METAVERSE_BASE + '/api/v1/users?per_page=' + SAFETY_LIMIT + '&';
|
||||||
if (domain) {
|
if (domain) {
|
||||||
|
@ -411,7 +411,7 @@ function getConnectionData(specificUsername, domain) { // Update all the usernam
|
||||||
} else if (domain) {
|
} else if (domain) {
|
||||||
getAvailableConnections(domain, function (users) {
|
getAvailableConnections(domain, function (users) {
|
||||||
users.forEach(function (user) {
|
users.forEach(function (user) {
|
||||||
pdateUser(frob(user));
|
updateUser(frob(user));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue