fix query

This commit is contained in:
CHIEFSOFT\ameye
2024-09-23 06:25:33 -04:00
parent 311d35c671
commit cb51328207
+2 -2
View File
@@ -175,7 +175,7 @@ long ProcessExpiredOffers(CVars in, CVars &out){
if (f.empty()) continue;
CVars rec;
map_to_cvars(f, rec);
pgsql_query("UPDATE members_jobs_offer SET refund_auto= now(), updated = now() "
pgsql_query("UPDATE members_jobs_offer SET refund_auto= now() "
" WHERE id = %lu AND uid::text = '%s' ", rec["offer_id"].Long(),rec["uid"].c_str()); // move the status so no retry
}
}
@@ -190,7 +190,7 @@ long ProcessExpiredOffers(CVars in, CVars &out){
logfmt(logINFO, "/ProcessExpiredOffers()");
return ret;
}