vn-verdnaturachat/app/actions/rooms.js

21 lines
285 B
JavaScript
Raw Normal View History

2017-08-17 02:06:22 +00:00
import * as types from './actionsTypes';
2017-08-17 06:28:41 +00:00
export function roomsRequest() {
2017-08-17 02:06:22 +00:00
return {
type: types.ROOMS.REQUEST
};
}
export function roomsSuccess() {
return {
type: types.ROOMS.SUCCESS
};
}
2017-08-17 06:28:41 +00:00
export function roomsFailure(err) {
2017-08-17 02:06:22 +00:00
return {
type: types.ROOMS.FAILURE,
err
};
}