Commit 797c2e17 authored by roadscape's avatar roadscape Committed by / /\ / /\/
Browse files

add desc and nsfw to updateProps

parent 38999d8d
......@@ -108,7 +108,14 @@ export function* createCommunityAccount(createCommunityAction) {
// TODO: Should this op update the community description and NSFW prop?
const updatePropsOperation = generateHivemindOperation(
'updateProps',
{ communityOwnerName, props: { title: communityTitle } },
{
communityOwnerName,
props: {
title: communityTitle,
description: communityDescription,
is_nsfw: !!communityNSFW,
},
},
communityOwnerName,
communityOwnerPosting
);
......
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