feat(route): utgd: adjust utgd apiUrl to new (#12894)
* Update timeline.js * Update topic.js
This commit is contained in:
parent
5373b5878b
commit
e0800cf4a2
|
|
@ -23,7 +23,7 @@ module.exports = async (ctx) => {
|
|||
ctx.cache.tryGet(`untag-${item.id}`, async () => {
|
||||
const detailResponse = await got({
|
||||
method: 'get',
|
||||
url: `${rootUrl}/api/v2/pages/${item.id}/`,
|
||||
url: `${rootUrl}/api/v2/article/${item.id}/`,
|
||||
searchParams: {
|
||||
fields: 'article_description,article_category(category_name),article_tag(tag_name)',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ module.exports = async (ctx) => {
|
|||
ctx.cache.tryGet(`untag-${item.id}`, async () => {
|
||||
const detailResponse = await got({
|
||||
method: 'get',
|
||||
url: `${rootUrl}/api/v2/pages/${item.id}/`,
|
||||
url: `${rootUrl}/api/v2/article/${item.id}/`,
|
||||
searchParams: {
|
||||
fields: 'article_description',
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue