From de436ec9e1f1dd82f1d4763cb0f383875fd34a3c Mon Sep 17 00:00:00 2001 From: Yash Chauhan Date: Sun, 21 Jan 2024 10:07:05 +0530 Subject: [PATCH] updated CompanyHistory endpoint --- callbacks/admin/company/company.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/callbacks/admin/company/company.ts b/callbacks/admin/company/company.ts index 63af86e0..05cbfaac 100644 --- a/callbacks/admin/company/company.ts +++ b/callbacks/admin/company/company.ts @@ -172,7 +172,7 @@ const addCompanyRequest = { }, getCompanyHistory: (token: string, companyId: string) => adminRcInstance - .get(`/${companyId}/history`, setConfig(token)) + .get(`/company/${companyId}/history`, setConfig(token)) .then(responseBody) .catch((err: ErrorType) => { errorNotification(