Merge pull request #2 from Michilis/dev
Fix API calls to use npub instead of identifier
This commit is contained in:
@@ -11,7 +11,7 @@ export const apiService = {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
identifier: pubkey,
|
||||
npub: pubkey,
|
||||
}),
|
||||
});
|
||||
|
||||
@@ -48,7 +48,7 @@ export const apiService = {
|
||||
'X-Api-Key': apiKey,
|
||||
},
|
||||
body: JSON.stringify({
|
||||
identifier: pubkey,
|
||||
npub: pubkey,
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user