SL-19533 Fix a fetch blunder

meow-7.2.2
Andrey Kleshchev 2023-04-25 13:10:51 +03:00
parent c008d3e030
commit 8166a8d8d4
1 changed files with 3 additions and 3 deletions

View File

@ -462,7 +462,7 @@ void AISAPI::FetchCategoryChildren(const LLUUID &catId, ITEM_TYPE type, bool rec
}
else
{
depth = llmax(depth, 50);
depth = llmin(depth, 50);
}
url += "?depth=" + std::to_string(depth);
@ -515,7 +515,7 @@ void AISAPI::FetchCategoryChildren(const std::string &identifier, bool recursive
}
else
{
depth = llmax(depth, 50);
depth = llmin(depth, 50);
}
url += "?depth=" + std::to_string(depth);
@ -566,7 +566,7 @@ void AISAPI::FetchCategoryCategories(const LLUUID &catId, ITEM_TYPE type, bool r
}
else
{
depth = llmax(depth, 50);
depth = llmin(depth, 50);
}
url += "?depth=" + std::to_string(depth);