summaryrefslogtreecommitdiffstats
path: root/webapp/actions/global_actions.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/actions/global_actions.jsx')
-rw-r--r--webapp/actions/global_actions.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/actions/global_actions.jsx b/webapp/actions/global_actions.jsx
index 23e19f22f..c8da43f24 100644
--- a/webapp/actions/global_actions.jsx
+++ b/webapp/actions/global_actions.jsx
@@ -397,7 +397,7 @@ export function sendEphemeralPost(message, channelId) {
user_id: '0',
channel_id: channelId || ChannelStore.getCurrentId(),
message,
- type: Constants.POST_TYPE_EPHEMERAL,
+ type: Constants.PostTypes.EPHEMERAL,
create_at: timestamp,
update_at: timestamp,
props: {}