rename JSON field 'hashcash' to 'pow_token' in API request body

This commit is contained in:
user
2026-03-10 11:40:33 -07:00
parent ba304e322e
commit 5b4ac75b23
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ function LoginScreen({ onLogin }) {
}
const reqBody = { nick: nick.trim() };
if (hashcashStamp) {
reqBody.hashcash = hashcashStamp;
reqBody.pow_token = hashcashStamp;
}
const res = await api("/session", {
method: "POST",