added admin uid

This commit is contained in:
CHIEFSOFT\ameye
2024-11-23 12:20:28 -05:00
parent ca3ab4f944
commit d62b9d7899
+4 -2
View File
@@ -219,8 +219,9 @@ long RefreshPromoActivities(CVars in, CVars &out){
if (resF != NULL && pgsql_num_rows(resF) > 0) {
pgsql_query("UPDATE promo_member SET updated = now(), status=2 WHERE id = %lu ", rec["id"].Long()); // mo
CVars yp;
yp["category"] ="SIGNUP";
yp["description"] = "Sign up was started";
yp["category"] ="SIGNUP"; yp["category"].set_valid( true );
yp["admin_id"] = rec["admin_id"]; yp["admin_id"].set_valid( true );
yp["description"] = "Sign up was started"; yp["description"].set_valid( true );
RegisterPromoAction(yp);
}
}
@@ -285,6 +286,7 @@ long RegisterPromoPoint(CVars in){
CVars yp;
yp["category"] ="SIGNUP_POINT";
yp["admin_id"] = in["admin_id"]; yp["admin_id"].set_valid( true );
yp["description"] = "Sign up was completed";
RegisterPromoAction(yp);
return 0;