From 6684dd4ab64a9e25ec19dad6043258b60735d4fc Mon Sep 17 00:00:00 2001 From: anmolsinghbhatia Date: Tue, 25 Apr 2023 16:51:50 +0530 Subject: [PATCH] feat: product updates service added --- apps/app/services/workspace.service.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/app/services/workspace.service.ts b/apps/app/services/workspace.service.ts index 6a67a1a7a..f6c319e64 100644 --- a/apps/app/services/workspace.service.ts +++ b/apps/app/services/workspace.service.ts @@ -206,6 +206,13 @@ class WorkspaceService extends APIService { throw error?.response?.data; }); } + async getProductUpdates(): Promise { + return this.get("/api/release-notes/") + .then((response) => response?.data) + .catch((error) => { + throw error?.response?.data; + }); + } } export default new WorkspaceService();