Browse Source

console.info(url)

visuddhinanda 2 years ago
parent
commit
53a7a42d24
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dashboard/src/components/article/ArticleEdit.tsx

+ 2 - 2
dashboard/src/components/article/ArticleEdit.tsx

@@ -96,10 +96,10 @@ const ArticleEditWidget = ({
             anthology_id: anthologyId,
             anthology_id: anthologyId,
           };
           };
           const url = `/v2/article/${articleId}`;
           const url = `/v2/article/${articleId}`;
-          console.log("save", url, request);
+          console.info("save url", url, request);
           put<IArticleDataRequest, IArticleResponse>(url, request)
           put<IArticleDataRequest, IArticleResponse>(url, request)
             .then((res) => {
             .then((res) => {
-              console.log("save response", res);
+              console.debug("save response", res);
               if (res.ok) {
               if (res.ok) {
                 if (typeof onChange !== "undefined") {
                 if (typeof onChange !== "undefined") {
                   onChange(res.data);
                   onChange(res.data);