refactor(communities): add back reorderCommunityChat function
This commit is contained in:
parent
4eab2fa86b
commit
bec24ce7c4
|
@ -140,6 +140,14 @@ proc editCommunityChannel*(
|
|||
"position": position
|
||||
}])
|
||||
|
||||
proc reorderCommunityCategories*(communityId: string, categoryId: string, position: int): RpcResponse[JsonNode] {.raises: [Exception].} =
|
||||
result = callPrivateRPC("reorderCommunityCategories".prefix, %*[
|
||||
{
|
||||
"communityId": communityId,
|
||||
"categoryId": categoryId,
|
||||
"position": position
|
||||
}])
|
||||
|
||||
proc reorderCommunityChat*(
|
||||
communityId: string,
|
||||
categoryId: string,
|
||||
|
|
Loading…
Reference in New Issue