@urbit/api: update group pokes

This commit is contained in:
Liam Fitzgerald 2021-06-09 11:42:27 +10:00
parent 938b78da63
commit 73f43a2829
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -89,8 +89,8 @@ export const removeGroup = (
export const changePolicy = (
resource: Resource,
diff: GroupPolicyDiff
): Poke<GroupUpdateChangePolicy> => proxyAction({
diff: Enc<GroupPolicyDiff>
): Poke<Enc<GroupUpdateChangePolicy>> => proxyAction({
changePolicy: {
resource,
diff
@ -148,7 +148,7 @@ export const invite = (
}
});
export const hide = (
export const hideGroup = (
resource: string
): Poke<any> => viewAction({
hide: resource