mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-11 01:52:00 +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]);
|
||||
});
|
||||
}
|
||||
var SAFETY_LIMIT = 600;
|
||||
var SAFETY_LIMIT = 400;
|
||||
function getAvailableConnections(domain, callback) { // callback([{usename, location}...]) if successfull. (Logs otherwise)
|
||||
var url = METAVERSE_BASE + '/api/v1/users?per_page=' + SAFETY_LIMIT + '&';
|
||||
if (domain) {
|
||||
|
@ -411,7 +411,7 @@ function getConnectionData(specificUsername, domain) { // Update all the usernam
|
|||
} else if (domain) {
|
||||
getAvailableConnections(domain, function (users) {
|
||||
users.forEach(function (user) {
|
||||
pdateUser(frob(user));
|
||||
updateUser(frob(user));
|
||||
});
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue