aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-22 22:59:29 -0800
committerAdam Soltys <[email protected]>2024-11-22 22:59:29 -0800
commit20504aa76fc607f2682834253e2f9e4dcf15be0e (patch)
tree707c9641ac065b465bde11cbbfcc96a08e64e821 /lib
parent29f77e795fe2b42fb508f0b1c0c91079eb0a4620 (diff)
downloadcoinos-server-20504aa76fc607f2682834253e2f9e4dcf15be0e.tar.gz
coinos-server-20504aa76fc607f2682834253e2f9e4dcf15be0e.zip
api
Diffstat (limited to 'lib')
-rw-r--r--lib/ecash.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ecash.ts b/lib/ecash.ts
index f22a1a0e..ade7f220 100644
--- a/lib/ecash.ts
+++ b/lib/ecash.ts
@@ -99,7 +99,7 @@ export async function init(amount = 100000) {
}
export function request(uuid, amount, memo) {
- const target = `${URL}/ecash/${uuid}`;
+ const target = `${URL}/api/ecash/${uuid}`;
const { POST: type } = PaymentRequestTransportType;
const transport = [{ type, target }];