From 21d20e42120967b4ab246eea1796e53a7121a2e4 Mon Sep 17 00:00:00 2001 From: Jeeva Ramachandran Date: Wed, 13 Dec 2023 13:29:11 +0530 Subject: [PATCH] fix: update generate sample data url --- src/screens/HyperSwitch/APIUtils/APIUtils.res | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screens/HyperSwitch/APIUtils/APIUtils.res b/src/screens/HyperSwitch/APIUtils/APIUtils.res index 5794864ab..24960abf1 100644 --- a/src/screens/HyperSwitch/APIUtils/APIUtils.res +++ b/src/screens/HyperSwitch/APIUtils/APIUtils.res @@ -192,9 +192,9 @@ let getURL = ( `${HSwitchGlobalVars.hyperSwitchApiPrefix}/recon/${(reconType :> string)->Js.String2.toLowerCase}` | GENERATE_SAMPLE_DATA => switch methodType { - | Post => `${HSwitchGlobalVars.hyperSwitchApiPrefix}/user/sample_data/generate` + | Post => `${HSwitchGlobalVars.hyperSwitchApiPrefix}/user/sample_data` - | Delete => `${HSwitchGlobalVars.hyperSwitchApiPrefix}/user/sample_data/delete` + | Delete => `${HSwitchGlobalVars.hyperSwitchApiPrefix}/user/sample_data` | _ => "" }