spee.ch/react/actions/channel.js

15 lines
264 B
JavaScript
Raw Normal View History

import * as actions from 'constants/channel_action_types';
2018-01-18 18:33:26 +01:00
// export action creators
export function updateLoggedInChannel (name, shortId, longId) {
return {
type: actions.CHANNEL_UPDATE,
2018-02-06 21:11:44 +01:00
data: {
name,
shortId,
longId,
},
2018-01-18 18:33:26 +01:00
};
};