Commit 55fe673a authored by / /\ / /\/'s avatar / /\ / /\/
Browse files

make community set for both custom ops

parent 744ce985
...@@ -63,7 +63,11 @@ export function* customOps(action) { ...@@ -63,7 +63,11 @@ export function* customOps(action) {
const setRoleOperation = generateHivemindOperation( const setRoleOperation = generateHivemindOperation(
'setRole', 'setRole',
{ communityOwnerName, account: accountName, role: 'admin' }, {
community: communityOwnerName,
account: accountName,
role: 'admin',
},
communityOwnerName, communityOwnerName,
communityOwnerPosting communityOwnerPosting
); );
...@@ -71,7 +75,7 @@ export function* customOps(action) { ...@@ -71,7 +75,7 @@ export function* customOps(action) {
const updatePropsOperation = generateHivemindOperation( const updatePropsOperation = generateHivemindOperation(
'updateProps', 'updateProps',
{ {
communityOwnerName, community: communityOwnerName,
props: { props: {
title: communityTitle, title: communityTitle,
description: communityDescription, description: communityDescription,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment