updated marketplace ID for identitysoon site

This commit is contained in:
philip-ellis-sp
2023-07-13 09:48:40 -05:00
parent 8b2db36c52
commit 3d2f42e095
2 changed files with 8 additions and 8 deletions

View File

@@ -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})

View File

@@ -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) {