diff --git a/wrenchboard/src/shared_tool/mobile.cc b/wrenchboard/src/shared_tool/mobile.cc index 28998fdf..c7844a57 100644 --- a/wrenchboard/src/shared_tool/mobile.cc +++ b/wrenchboard/src/shared_tool/mobile.cc @@ -13,6 +13,7 @@ #include "account.h" #include "history.h" #include "jobs_manager.h" +#include "jobs.h" #include "account_mngt.h" #include "contract.h" @@ -318,6 +319,11 @@ long WrenchReturnActiveJobsList(CVars in, CVars &out) { /* This return the list of jobs on the home page of the apps*/ long WrenchReturnOffersResponse(CVars in, CVars &out) { - // return WrenchUsersTasksList(in, out); - return 0 + + long offer_result = REQ_LONG(in, "offer_result", 1, -1); + long member_id = REQ_LONG(in, "member_id", 1, -1); + REQ_STRING(in, "offer_code", 2, 15, "(.*)"); + + return WrenchConcludeJobsOffer(in, out); + } \ No newline at end of file