diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-03-29 11:14:10 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-03-29 11:14:10 +0700 |
| commit | ac230a35f325cc47e89fd5d635847536f2dd9b44 (patch) | |
| tree | 140f183209ca2353de06fdeb3e7028b43ee28c40 /src/lib/video/api | |
| parent | 5f8362bc9272af730a084b7cc1dda6537f7f8d40 (diff) | |
| parent | aa21c215d18d0a80e7f2979f9a18f5af7db02f8c (diff) | |
Merge branch 'master' of https://bitbucket.org/altafixco/next-indoteknik
Diffstat (limited to 'src/lib/video/api')
| -rw-r--r-- | src/lib/video/api/videoApi.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/video/api/videoApi.js b/src/lib/video/api/videoApi.js new file mode 100644 index 00000000..d1031dab --- /dev/null +++ b/src/lib/video/api/videoApi.js @@ -0,0 +1,8 @@ +import odooApi from '@/core/api/odooApi' + +const videoApi = async ({ limit, offset }) => { + const dataVideos = await odooApi('GET', `/api/v1/video_content?limit=${limit}&offset=${offset}`) + return dataVideos +} + +export default videoApi |
