From b2ba3a4965219c1d0c5202cb751cc658e87be713 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 3 Sep 2023 12:25:18 -0400 Subject: [PATCH] more log --- wrenchboard/src/shared_tool/jobs.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wrenchboard/src/shared_tool/jobs.cc b/wrenchboard/src/shared_tool/jobs.cc index ad5afdb3..7fdafe72 100644 --- a/wrenchboard/src/shared_tool/jobs.cc +++ b/wrenchboard/src/shared_tool/jobs.cc @@ -201,6 +201,13 @@ long WrenchSendJobsOfferCreateAssign(CVars in, CVars &out){ REQ_STRING(in, "family_uid", 1, 59, "(.*)"); // REQ_STRING(in, "job_description", 1, 5500, "(.*)"); if ( WrenchCreateJobs(in, xx) == PHP_CREATED_OK ){ + + CVars xxx, yy; + xxx["member_id"] = in["member_id"]; xxx["member_id"].set_valid( true ); + xxx["title"] = "A job was created"; xxx["title"].set_valid( true ); + xxx["description"] = "Added a new job"; xxx["description"].set_valid( true ); + WrenchLogRecent(xxx, yy); + in["job_id"] = xx["job_id"]; xx["job_id"].set_valid( true ); in["job_uid"] = xx["job_uid"]; xx["job_uid"].set_valid( true ); in["job_description"] = xx["job_detail"]; xx["job_description"].set_valid( true );