فهرست منبع

:memo: add console.info("api response"

visuddhinanda 1 سال پیش
والد
کامیت
283f0600d1
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      dashboard/src/components/discussion/DiscussionListCard.tsx

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

@@ -221,8 +221,9 @@ const DiscussionListCardWidget = ({
             switch (resType) {
               case "sentence":
                 const url = `/v2/sentence/${resId}`;
-                console.log("url", url);
+                console.info("api request", url);
                 const sentInfo = await get<ISentenceResponse>(url);
+                console.info("api response", sentInfo);
                 studioName = sentInfo.data.studio.realName;
                 break;
             }