mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
conditional compiling no certs when getlogs removed
This commit is contained in:
parent
290d6da0ef
commit
c63bc137c4
1 changed files with 4 additions and 0 deletions
|
|
@ -40,7 +40,11 @@ public:
|
||||||
#if API_VERSION >= 1
|
#if API_VERSION >= 1
|
||||||
//Usage
|
//Usage
|
||||||
METHOD_ADD(api::GetBal, "/v1/user/balance?name={name}", Get, Options);
|
METHOD_ADD(api::GetBal, "/v1/user/balance?name={name}", Get, Options);
|
||||||
|
#if MAX_LOG_SIZE > 0
|
||||||
METHOD_ADD(api::GetLog, "/v1/user/log", Get, Options, "UserFilter");
|
METHOD_ADD(api::GetLog, "/v1/user/log", Get, Options, "UserFilter");
|
||||||
|
#else
|
||||||
|
METHOD_ADD(api::GetLog, "/v1/user/log", Get, Options);
|
||||||
|
#endif
|
||||||
METHOD_ADD(api::SendFunds, "/v1/user/transfer", Post, Options, "UserFilter"); //expects ["to"](string) and ["amount"](32 bits)
|
METHOD_ADD(api::SendFunds, "/v1/user/transfer", Post, Options, "UserFilter"); //expects ["to"](string) and ["amount"](32 bits)
|
||||||
METHOD_ADD(api::VerifyPassword, "/v1/user/verify_password", Get, Options, "UserFilter");
|
METHOD_ADD(api::VerifyPassword, "/v1/user/verify_password", Get, Options, "UserFilter");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue