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