chore: Use optimized endpoint to get communities with images

fixes #15340
This commit is contained in:
Andrey Bocharnikov 2024-06-28 18:23:39 +04:00
parent a2b8eb333d
commit 5c349d1938
1 changed files with 1 additions and 1 deletions

View File

@ -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])