diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2024-03-01 09:20:11 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2024-03-01 09:20:11 +0700 |
| commit | 65377952fbd0721ce1550c42384d723ccd7b9b1a (patch) | |
| tree | bd3d0e7546ec89a1c1c8e0c1889240a92d1e01c3 /src/pages/my/recomendation/api | |
| parent | 756f93807a33bb1398931ae894b071504dfec3b8 (diff) | |
generate recomendation
Diffstat (limited to 'src/pages/my/recomendation/api')
| -rw-r--r-- | src/pages/my/recomendation/api/recomendation.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pages/my/recomendation/api/recomendation.js b/src/pages/my/recomendation/api/recomendation.js new file mode 100644 index 00000000..47ed743a --- /dev/null +++ b/src/pages/my/recomendation/api/recomendation.js @@ -0,0 +1,8 @@ +import axios from "axios" + +const GenerateRecomendations = async ({query}) => { + const GenerateRecomendationProducts = await axios(`${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/recomendation?${query}`) + + return GenerateRecomendationProducts +} +export default GenerateRecomendations
\ No newline at end of file |
