From 2a1305dc3908cd8bd4ababc16f2fffcf4335866f Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 28 May 2023 08:54:41 -0400 Subject: [PATCH] fic conclude --- wrenchboard/src/shared_tool/mobile.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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