mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-24 05:21:58 +00:00
fix(Contancts): Fix retractContactRequest rpc payload
This commit is contained in:
parent
fa1c3beb25
commit
ee9fe6d720
@ -109,6 +109,6 @@ proc cancelVerificationRequest*(requestId: string): RpcResponse[JsonNode] {.rais
|
|||||||
|
|
||||||
proc retractContactRequest*(pubkey: string): RpcResponse[JsonNode] {.raises: [Exception].} =
|
proc retractContactRequest*(pubkey: string): RpcResponse[JsonNode] {.raises: [Exception].} =
|
||||||
let payload = %*[{
|
let payload = %*[{
|
||||||
"contactId": pubkey
|
"id": pubkey
|
||||||
}]
|
}]
|
||||||
result = callPrivateRPC("retractContactRequest".prefix, payload)
|
result = callPrivateRPC("retractContactRequest".prefix, payload)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user