diff options
Diffstat (limited to 'src/api/bannerApi.js')
| -rw-r--r-- | src/api/bannerApi.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/api/bannerApi.js b/src/api/bannerApi.js new file mode 100644 index 00000000..8bae131d --- /dev/null +++ b/src/api/bannerApi.js @@ -0,0 +1,5 @@ +import odooApi from '@/core/api/odooApi' + +export const bannerApi = ({ type }) => { + return async () => await odooApi('GET', `/api/v1/banner?type=${type}`) +} |
