fix query
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -190,7 +190,7 @@ long ProcessExpiredOffers(CVars in, CVars &out){
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
logfmt(logINFO, "/ProcessExpiredOffers()");
|
logfmt(logINFO, "/ProcessExpiredOffers()");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user