mirror of
https://github.com/status-im/status-lib.git
synced 2025-01-29 21:55:49 +00:00
refactor(communities): add getAllCommunities function (#133)
This commit is contained in:
parent
bc3d85bad1
commit
3326813d77
@ -6,4 +6,7 @@ export response_type
|
||||
|
||||
proc getJoinedComunities*(): RpcResponse[JsonNode] {.raises: [Exception].} =
|
||||
let payload = %* []
|
||||
result = callPrivateRPC("joinedCommunities".prefix, payload)
|
||||
result = callPrivateRPC("joinedCommunities".prefix, payload)
|
||||
|
||||
proc getAllCommunities*(): RpcResponse[JsonNode] {.raises: [Exception].} =
|
||||
result = callPrivateRPC("communities".prefix)
|
Loading…
x
Reference in New Issue
Block a user