rename JSON field 'hashcash' to 'pow_token' in API request body
All checks were successful
check / check (push) Successful in 2m12s
All checks were successful
check / check (push) Successful in 2m12s
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user