13 lines
341 B
JavaScript
13 lines
341 B
JavaScript
import { CREATE_MULTIPLE_CSHIFT_REQUEST } from "../../constants/cShift.constants";
|
|
|
|
/**
|
|
* Saga action for creating a list of shifts
|
|
* @param postBody[] array of post body for cshift post endpoint
|
|
*/
|
|
export function createMultipleCShiftRequest(postBodies) {
|
|
return {
|
|
type: CREATE_MULTIPLE_CSHIFT_REQUEST,
|
|
data: postBodies
|
|
};
|
|
}
|