mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-01-31 03:12:45 +00:00
13 lines
342 B
JavaScript
13 lines
342 B
JavaScript
export default (client) => {
|
|
return {
|
|
getPeriodicInterval(dataSyncId) {
|
|
return client.get(`/data-sync/${dataSyncId}/periodic-interval/`)
|
|
},
|
|
updatePeriodicInterval(dataSyncId, interval, when) {
|
|
return client.patch(`/data-sync/${dataSyncId}/periodic-interval/`, {
|
|
interval,
|
|
when,
|
|
})
|
|
},
|
|
}
|
|
}
|