summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-08-06 15:22:38 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-08-06 15:22:38 +0300
commitcd8fcec5fefd607957ef2560fbe92241795c091b (patch)
treeb866fed345a9128b50d6f0a06e02ed66d332353c /indra
parent6b5345eabd75e62b99333c51877b02e5a54f66d2 (diff)
SL-20120 Fix ais depth 'body' being misplaced.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llaisapi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llaisapi.cpp b/indra/newview/llaisapi.cpp
index 07c6afc635..0f58908251 100644
--- a/indra/newview/llaisapi.cpp
+++ b/indra/newview/llaisapi.cpp
@@ -703,13 +703,13 @@ void AISAPI::FetchCOF(completion_t callback)
// _6 -> httpHeaders
(&LLCoreHttpUtil::HttpCoroutineAdapter::getAndSuspend), _1, _2, _3, _5, _6);
- LLCoprocedureManager::CoProcedure_t proc(boost::bind(&AISAPI::InvokeAISCommandCoro,
- _1, getFn, url, LLUUID::null, LLSD(), callback, FETCHCOF));
-
LLSD body;
// Only cof folder will be full, but cof can contain an outfit
// link with embedded outfit folder for request to parse
body["depth"] = 0;
+ LLCoprocedureManager::CoProcedure_t proc(boost::bind(&AISAPI::InvokeAISCommandCoro,
+ _1, getFn, url, LLUUID::null, body, callback, FETCHCOF));
+
EnqueueAISCommand("FetchCOF", proc);
}