Merge pull request #2 from Michilis/dev

Fix API calls to use npub instead of identifier
This commit is contained in:
Michilis
2025-11-06 17:17:48 -03:00
committed by GitHub

View File

@@ -11,7 +11,7 @@ export const apiService = {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
}, },
body: JSON.stringify({ body: JSON.stringify({
identifier: pubkey, npub: pubkey,
}), }),
}); });
@@ -48,7 +48,7 @@ export const apiService = {
'X-Api-Key': apiKey, 'X-Api-Key': apiKey,
}, },
body: JSON.stringify({ body: JSON.stringify({
identifier: pubkey, npub: pubkey,
}), }),
}); });