diff --git a/indra/newview/llaisapi.cpp b/indra/newview/llaisapi.cpp
index 07c6afc6354365d8d155fdfc00a9fe679cc643b5..0f589082519fcc1996afed1f17d0fda11311085d 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);
 }