1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-21 23:37:55 +00:00
bramw_baserow/web-frontend/modules/builder/services/domain.js
2023-09-18 08:29:09 +00:00

14 lines
326 B
JavaScript

export default (client) => {
return {
fetchAll(builderId) {
return client.get(`builder/${builderId}/domains/`)
},
create(builderId, data) {
return client.post(`builder/${builderId}/domains/`, data)
},
delete(domainId) {
return client.delete(`builder/domains/${domainId}/`)
},
}
}