1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-01-31 03:12:45 +00:00
bramw_baserow/web-frontend/modules/builder/services/domain.js
2023-09-18 08:29:09 +00:00

13 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}/`)
},
}
}