mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-06 04:19:31 +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) {
|
||||
// 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})
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user