This commit is contained in:
2022-05-31 17:27:58 -04:00
parent 5e5f643d9f
commit de6288fc3a
9 changed files with 75 additions and 9 deletions
@@ -19,6 +19,7 @@
#include "pgsql_wrapper.h"
#include "stripe_charge.h"
#include "account_mngt.h"
#include "coupons.h"
#include "twilo.h"
//extern CSQL *sql;
@@ -56,6 +57,11 @@ long wrenchboard_api_main(CVars in, CVars &out) {
return sitecrons_calls(in, out);
}
if (action >= WRENCHBOARD_COUPON_START && action <= WRENCHBOARD_COUPON_END) {
logfmt(logINFO, "coupons_calls");
return coupons_calls(in, out);
}
if (action >= WRENCHBOARD_ACCOUNT_START && action <= WRENCHBOARD_ACCOUNT_END) {
logfmt(logINFO, "account calls");
return account_calls(in, out);