Show pubkey as bech32

This commit is contained in:
2023-01-12 22:16:53 +00:00
parent 1542a11f56
commit 6b06289b49
2 changed files with 10 additions and 3 deletions

View File

@ -61,7 +61,12 @@ export class ServiceProvider {
}
async RegisterHandle(handle: string, domain: string, pubkey: string): Promise<HandleRegisterResponse | ServiceError> {
return await this._GetJson("/registration/register", "PUT", { name: handle, domain, pk: pubkey, ref: "snort" });
return await this._GetJson("/registration/register", "PUT", {
name: handle,
domain,
pk: pubkey,
ref: "snort"
});
}
async CheckRegistration(token: string): Promise<CheckRegisterResponse | ServiceError> {