Selaa lähdekoodia

view=view=template

visuddhinanda 2 vuotta sitten
vanhempi
sitoutus
4a0a4935fc

+ 1 - 1
dashboard/src/components/discussion/DiscussionListCard.tsx

@@ -163,7 +163,7 @@ const DiscussionListCardWidget = ({
                 studioName = sentInfo.data.studio.realName;
                 studioName = sentInfo.data.studio.realName;
                 break;
                 break;
             }
             }
-            const urlTpl = `/v2/article?view=studio&name=${studioName}&subtitle=_template_discussion_topic_&content=true`;
+            const urlTpl = `/v2/article?view=template&studio_name=${studioName}&subtitle=_template_discussion_topic_&content=true`;
             const resTpl = await get<IArticleListResponse>(urlTpl);
             const resTpl = await get<IArticleListResponse>(urlTpl);
             if (resTpl.ok) {
             if (resTpl.ok) {
               console.log("resTpl.data.rows", resTpl.data.rows);
               console.log("resTpl.data.rows", resTpl.data.rows);