diff options
| author | Adam Soltys <[email protected]> | 2026-03-04 09:23:03 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-04 09:23:03 -0800 |
| commit | ba579c4f801be258128294e7cb1f4d2e518e37ca (patch) | |
| tree | 2ffbee38d5d82d06580a68ffddd798c1930d6ded /src/components/Pin.svelte | |
| parent | e39b182ac4c2134157eca3f4cc7c8c7dfd389484 (diff) | |
| download | coinos-ui-ba579c4f801be258128294e7cb1f4d2e518e37ca.tar.gz coinos-ui-ba579c4f801be258128294e7cb1f4d2e518e37ca.zip | |
fix api calls
Diffstat (limited to 'src/components/Pin.svelte')
| -rw-r--r-- | src/components/Pin.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Pin.svelte b/src/components/Pin.svelte index c8ead368..da0c6aeb 100644 --- a/src/components/Pin.svelte +++ b/src/components/Pin.svelte @@ -27,7 +27,7 @@ if (p?.length !== 6) return; let result; try { - result = await post("/api/pin", { pin: hashPin(p) }); + result = await post("/pin", { pin: hashPin(p) }); } catch (e) { console.log("Pin check failed", e); } |
