fix query

This commit is contained in:
CHIEFSOFT\ameye
2024-09-23 06:25:33 -04:00
parent 311d35c671
commit cb51328207
+1 -1
View File
@@ -175,7 +175,7 @@ long ProcessExpiredOffers(CVars in, CVars &out){
if (f.empty()) continue; if (f.empty()) continue;
CVars rec; CVars rec;
map_to_cvars(f, 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 " WHERE id = %lu AND uid::text = '%s' ", rec["offer_id"].Long(),rec["uid"].c_str()); // move the status so no retry
} }
} }