You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
381 B
13 lines
381 B
import { get, put } from "./baseApi"; |
|
|
|
export function getPShifts(params) { |
|
return get("/pshift/", params).then(resp => Promise.resolve(resp)); |
|
} |
|
|
|
export function getPShift(uuid) { |
|
return get(`/pshift/${uuid}/`).then(resp => Promise.resolve(resp)); |
|
} |
|
|
|
export function updatePShift(uuid, params) { |
|
return put(`/pshift/${uuid}/`, params).then(resp => Promise.resolve(resp)); |
|
}
|
|
|