From 0e8960bb32ed265e69fa04100eaf997694f84ab8 Mon Sep 17 00:00:00 2001 From: Becky Reamy Date: Fri, 13 Oct 2023 14:58:12 -0400 Subject: [PATCH 1/2] KPMP-4674: Change endpoint to exclude pacakge types --- src/actions/Packages/packageActions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/Packages/packageActions.js b/src/actions/Packages/packageActions.js index 3f369ec2..24e305f6 100755 --- a/src/actions/Packages/packageActions.js +++ b/src/actions/Packages/packageActions.js @@ -7,7 +7,7 @@ import { getDTDByVersion } from '../dtdActions'; const api = Api.getInstance(); export const getPackagesStateless = () => { - return api.get('/api/v1/packages') + return api.get('/api/v1/packages/exclude/true') .then(res => { return res.data }) From 80d6780f2f92962c965b2a598116646e69f18a6a Mon Sep 17 00:00:00 2001 From: Becky Reamy Date: Mon, 23 Oct 2023 12:39:57 -0400 Subject: [PATCH 2/2] KPMP-4674: Update endpoint --- src/actions/Packages/packageActions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/Packages/packageActions.js b/src/actions/Packages/packageActions.js index 24e305f6..d1251d44 100755 --- a/src/actions/Packages/packageActions.js +++ b/src/actions/Packages/packageActions.js @@ -7,7 +7,7 @@ import { getDTDByVersion } from '../dtdActions'; const api = Api.getInstance(); export const getPackagesStateless = () => { - return api.get('/api/v1/packages/exclude/true') + return api.get('/api/v1/packages?shouldExclude=true') .then(res => { return res.data })