aboutsummaryrefslogtreecommitdiffstats
path: root/src/hs-proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hs-proxy.cpp')
-rw-r--r--src/hs-proxy.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hs-proxy.cpp b/src/hs-proxy.cpp
index 1a237d7..718f6ff 100644
--- a/src/hs-proxy.cpp
+++ b/src/hs-proxy.cpp
@@ -126,17 +126,17 @@ int HS_AfmMainProxy::detail(afb_api_t api, const std::string &id, struct json_ob
* start application
*
* #### Parameters
- * - request : the request
+ * - api : the api
* - id : the application id liked "dashboard@0.1"
*
* #### Return
* None
*
*/
-void HS_AfmMainProxy::start(afb_req_t request, const std::string &id)
+void HS_AfmMainProxy::start(afb_api_t api, const std::string &id)
{
struct json_object *args = json_object_new_string(id.c_str());
- api_call(request->api, _afm_main, __FUNCTION__, args);
+ api_call(api, _afm_main, __FUNCTION__, args);
}
/* -------------------------------------HS_WmProxy------------------------------------------ */