From 3d2f42e095e20ccd1ddbecde231330d58f37246e Mon Sep 17 00:00:00 2001 From: philip-ellis-sp Date: Thu, 13 Jul 2023 09:48:40 -0500 Subject: [PATCH] updated marketplace ID for identitysoon site --- .../marketplace/MarketplaceSidebar/index.js | 2 +- src/services/DiscourseService.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/marketplace/MarketplaceSidebar/index.js b/src/components/marketplace/MarketplaceSidebar/index.js index 96f97dae8..c890a48ee 100644 --- a/src/components/marketplace/MarketplaceSidebar/index.js +++ b/src/components/marketplace/MarketplaceSidebar/index.js @@ -25,7 +25,7 @@ export default function MarketplaceSidebar({ for (const category of categoryData.category_list.categories) { // 59 for marketplace - if (category.id === 59) { + if (category.id === 57) { for (const subCategory of category.subcategory_list) { catIntegrationType.push({"name": subCategory.name, "slug": subCategory.slug}) diff --git a/src/services/DiscourseService.js b/src/services/DiscourseService.js index 9b7dd58e1..b4bbb51c8 100644 --- a/src/services/DiscourseService.js +++ b/src/services/DiscourseService.js @@ -75,9 +75,9 @@ export async function getMarketplacePosts(tags, category) { } let url = '' if (tags) { - url = 'https://developer.sailpoint.com/discuss/search.json?q=category:' + filterCategory + '+tags:' + tags + url = 'https://developer.identitysoon.com/discuss/search.json?q=category:' + filterCategory + '+tags:' + tags } else { - url = 'https://developer.sailpoint.com/discuss/search.json?q=category:' + filterCategory + url = 'https://developer.identitysoon.com/discuss/search.json?q=category:' + filterCategory } try { const response = await fetch( @@ -92,7 +92,7 @@ export async function getMarketplacePosts(tags, category) { export async function getTopic(id) { try { const response = await fetch( - 'https://developer.sailpoint.com/discuss/t/' + id + '.json', + 'https://developer.identitysoon.com/discuss/t/' + id + '.json', ); return await response.json(); } catch (error) { @@ -103,7 +103,7 @@ export async function getTopic(id) { export async function getMarketplaceTopic(id) { try { const response = await fetch( - 'https://developer.sailpoint.com/discuss/t/' + id + '.json', + 'https://developer.identitysoon.com/discuss/t/' + id + '.json', ); return await response.json(); } catch (error) { @@ -114,7 +114,7 @@ export async function getMarketplaceTopic(id) { export async function getMarketplaceTopicRaw(id) { try { const response = await fetch( - 'https://developer.sailpoint.com/discuss/raw/' + id + '.json', + 'https://developer.identitysoon.com/discuss/raw/' + id + '.json', ); return await response.text(); } catch (error) { @@ -125,7 +125,7 @@ export async function getMarketplaceTopicRaw(id) { export async function getTags() { try { const response = await fetch( - 'https://developer.sailpoint.com/discuss/tags.json', + 'https://developer.identitysoon.com/discuss/tags.json', ); return await response.json(); } catch (error) { @@ -136,7 +136,7 @@ export async function getTags() { export async function getCatagories() { try { const response = await fetch( - 'https://developer.sailpoint.com/discuss/categories.json', + 'https://developer.identitysoon.com/discuss/categories.json', ); return await response.json(); } catch (error) {