mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-23 19:05:51 +00:00
correct endpoints
This commit is contained in:
parent
7ae670631a
commit
177d2e4bc8
1 changed files with 4 additions and 4 deletions
|
@ -225,7 +225,7 @@ class Paynym {
|
|||
//
|
||||
// ------
|
||||
Future<Map<String, dynamic>> claim(String token, String signature) async {
|
||||
return _post("/nym", {"signature": signature}, {"auth-token": token});
|
||||
return _post("/claim", {"signature": signature}, {"auth-token": token});
|
||||
}
|
||||
|
||||
// ### `/api/v1/follow`
|
||||
|
@ -276,7 +276,7 @@ class Paynym {
|
|||
String target,
|
||||
) async {
|
||||
return _post(
|
||||
"/nym",
|
||||
"/follow",
|
||||
{
|
||||
"target": target,
|
||||
"signature": signature,
|
||||
|
@ -335,7 +335,7 @@ class Paynym {
|
|||
String target,
|
||||
) async {
|
||||
return _post(
|
||||
"/nym",
|
||||
"/unfollow",
|
||||
{
|
||||
"target": target,
|
||||
"signature": signature,
|
||||
|
@ -397,7 +397,7 @@ class Paynym {
|
|||
String code,
|
||||
) async {
|
||||
return _post(
|
||||
"/nym",
|
||||
"/add",
|
||||
{
|
||||
"nym": nym,
|
||||
"code": code,
|
||||
|
|
Loading…
Reference in a new issue