diff --git a/.eslintrc.json b/.eslintrc.json index 7f85a5aea..86ec5da22 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -29,6 +29,7 @@ "indent": 0, "jsx-quotes": ["error", "prefer-double"], "new-cap": 0, + "no-console": 1, "no-multi-spaces": 0, "no-redeclare": 0, "no-return-await": 0, diff --git a/src/ui/redux/actions/publish.js b/src/ui/redux/actions/publish.js index b09f2d017..81bc886c3 100644 --- a/src/ui/redux/actions/publish.js +++ b/src/ui/redux/actions/publish.js @@ -347,7 +347,7 @@ export const doPublish = () => (dispatch: Dispatch, getState: () => {}) => { dispatch({ type: ACTIONS.PUBLISH_FAIL }); dispatch(doError(error.message)); }; - console.log('PP', publishPayload); + return Lbry.publish(publishPayload).then(success, failure); }; diff --git a/yarn.lock b/yarn.lock index a66f83eb7..bd4f2c55c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6646,9 +6646,9 @@ lazy-val@^1.0.3, lazy-val@^1.0.4: yargs "^13.2.2" zstd-codec "^0.1.1" -lbry-redux@lbryio/lbry-redux#bb82aed61a5569e565daa784eb25fc1d639c0c22: +lbry-redux@lbryio/lbry-redux#0ff6364a40253387fbe1c4a5b5cd444f616d84e6: version "0.0.1" - resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/bb82aed61a5569e565daa784eb25fc1d639c0c22" + resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/0ff6364a40253387fbe1c4a5b5cd444f616d84e6" dependencies: proxy-polyfill "0.1.6" reselect "^3.0.0"