aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Nanis2026-09-13 13:01:49 -0700
committerMax Nanis2026-09-13 13:01:49 -0700
commitb32ca2832e117e54ff79d6cd9e386b555382ec01 (patch)
treeb831680828e681999c8ece501cd816e77993a215
parent9f0953031cf69a854e880a58a4839a9f7b1dd5b3 (diff)
downloadamt-jb-b32ca2832e117e54ff79d6cd9e386b555382ec01.tar.gz
amt-jb-b32ca2832e117e54ff79d6cd9e386b555382ec01.zip
trailing slash
-rw-r--r--jb-ui/src/pages/Preview.tsx2
-rw-r--r--jb-ui/src/pages/Transfer.tsx2
-rw-r--r--tests/http/test_auth.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/jb-ui/src/pages/Preview.tsx b/jb-ui/src/pages/Preview.tsx
index c58a85e..bb7520a 100644
--- a/jb-ui/src/pages/Preview.tsx
+++ b/jb-ui/src/pages/Preview.tsx
@@ -260,7 +260,7 @@ const LoginForm = function ({ onSubmitSuccess }: LoginFormProps) {
setState("working");
try {
- const response = await fetch("/auth/magic-link/request", {
+ const response = await fetch("/auth/magic-link/request/", {
method: "POST",
credentials: "include",
headers: { "Content-Type": "application/json" },
diff --git a/jb-ui/src/pages/Transfer.tsx b/jb-ui/src/pages/Transfer.tsx
index 8079da2..a341c72 100644
--- a/jb-ui/src/pages/Transfer.tsx
+++ b/jb-ui/src/pages/Transfer.tsx
@@ -55,7 +55,7 @@ const TransferSubmit = function ({ onSubmitSuccess }: TransferSubmitProps) {
setState("working");
try {
- const response = await fetch("/auth/link-amt/request", {
+ const response = await fetch("/auth/link-amt/request/", {
method: "POST",
credentials: "include",
headers: { "Content-Type": "application/json" },
diff --git a/tests/http/test_auth.py b/tests/http/test_auth.py
index 1fa1335..b44a36a 100644
--- a/tests/http/test_auth.py
+++ b/tests/http/test_auth.py
@@ -97,7 +97,7 @@ class TestAuth:
token = parse_qs(urlparse(d["magic_link"]).query)["token"][0]
- url = "/auth/link-amt/exchange"
+ url = "/auth/link-amt/exchange/"
body = {"token": token}
res = await client.post(url, json=body)
assert res.status_code == 204