mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 01:54:43 +03:00
@urbit/api: update group pokes
This commit is contained in:
parent
938b78da63
commit
73f43a2829
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user