mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-06 12:27:46 +00:00
updated marketplace ID for identitysoon site
This commit is contained in:
@@ -25,7 +25,7 @@ export default function MarketplaceSidebar({
|
|||||||
|
|
||||||
for (const category of categoryData.category_list.categories) {
|
for (const category of categoryData.category_list.categories) {
|
||||||
// 59 for marketplace
|
// 59 for marketplace
|
||||||
if (category.id === 59) {
|
if (category.id === 57) {
|
||||||
for (const subCategory of category.subcategory_list) {
|
for (const subCategory of category.subcategory_list) {
|
||||||
|
|
||||||
catIntegrationType.push({"name": subCategory.name, "slug": subCategory.slug})
|
catIntegrationType.push({"name": subCategory.name, "slug": subCategory.slug})
|
||||||
|
|||||||
@@ -75,9 +75,9 @@ export async function getMarketplacePosts(tags, category) {
|
|||||||
}
|
}
|
||||||
let url = ''
|
let url = ''
|
||||||
if (tags) {
|
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 {
|
} else {
|
||||||
url = 'https://developer.sailpoint.com/discuss/search.json?q=category:' + filterCategory
|
url = 'https://developer.identitysoon.com/discuss/search.json?q=category:' + filterCategory
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
@@ -92,7 +92,7 @@ export async function getMarketplacePosts(tags, category) {
|
|||||||
export async function getTopic(id) {
|
export async function getTopic(id) {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
'https://developer.sailpoint.com/discuss/t/' + id + '.json',
|
'https://developer.identitysoon.com/discuss/t/' + id + '.json',
|
||||||
);
|
);
|
||||||
return await response.json();
|
return await response.json();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -103,7 +103,7 @@ export async function getTopic(id) {
|
|||||||
export async function getMarketplaceTopic(id) {
|
export async function getMarketplaceTopic(id) {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
'https://developer.sailpoint.com/discuss/t/' + id + '.json',
|
'https://developer.identitysoon.com/discuss/t/' + id + '.json',
|
||||||
);
|
);
|
||||||
return await response.json();
|
return await response.json();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -114,7 +114,7 @@ export async function getMarketplaceTopic(id) {
|
|||||||
export async function getMarketplaceTopicRaw(id) {
|
export async function getMarketplaceTopicRaw(id) {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
'https://developer.sailpoint.com/discuss/raw/' + id + '.json',
|
'https://developer.identitysoon.com/discuss/raw/' + id + '.json',
|
||||||
);
|
);
|
||||||
return await response.text();
|
return await response.text();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -125,7 +125,7 @@ export async function getMarketplaceTopicRaw(id) {
|
|||||||
export async function getTags() {
|
export async function getTags() {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
'https://developer.sailpoint.com/discuss/tags.json',
|
'https://developer.identitysoon.com/discuss/tags.json',
|
||||||
);
|
);
|
||||||
return await response.json();
|
return await response.json();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -136,7 +136,7 @@ export async function getTags() {
|
|||||||
export async function getCatagories() {
|
export async function getCatagories() {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
'https://developer.sailpoint.com/discuss/categories.json',
|
'https://developer.identitysoon.com/discuss/categories.json',
|
||||||
);
|
);
|
||||||
return await response.json();
|
return await response.json();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user