chore: Use optimized endpoint to get communities with images
fixes #15340
This commit is contained in:
parent
a2b8eb333d
commit
5c349d1938
|
@ -27,7 +27,7 @@ proc getCuratedCommunities*(): RpcResponse[JsonNode] =
|
|||
result = callPrivateRPC("curatedCommunities".prefix, payload)
|
||||
|
||||
proc getAllCommunities*(): RpcResponse[JsonNode] =
|
||||
result = callPrivateRPC("communities".prefix)
|
||||
result = callPrivateRPC("serializedCommunities".prefix)
|
||||
|
||||
proc isDisplayNameDupeOfCommunityMember*(displayName: string): RpcResponse[JsonNode] =
|
||||
result = callPrivateRPC("isDisplayNameDupeOfCommunityMember".prefix, %* [displayName])
|
||||
|
|
Loading…
Reference in New Issue