1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-21 23:37:55 +00:00
bramw_baserow/web-frontend/modules/core/services/undoRedo.js

15 lines
234 B
JavaScript

export default (client) => {
return {
undo(scopes) {
return client.patch(`/user/undo/`, {
scopes,
})
},
redo(scopes) {
return client.patch(`/user/redo/`, {
scopes,
})
},
}
}