pass domain to authenticate for appid #5012

Merged
jessopb merged 1 commit from fix-domainAppid into master 2020-11-11 03:47:52 +01:00
3 changed files with 5 additions and 4 deletions

View file

@ -137,7 +137,7 @@
"json-loader": "^0.5.4",
"lbry-format": "https://github.com/lbryio/lbry-format.git",
"lbry-redux": "lbryio/lbry-redux#c86810038c966f5d88e1df7b787fbe1d31a96802",
"lbryinc": "lbryio/lbryinc#801f1590590962fe53fe6fb6d3a7012a636bb36b",
"lbryinc": "lbryio/lbryinc#9371b3181f9e38714a3986f56d2d10c534ef9dda",
"lint-staged": "^7.0.2",
"localforage": "^1.7.1",
"lodash-es": "^4.17.14",

View file

@ -5,6 +5,7 @@ import { selectEmailToVerify, selectPhoneToVerify, selectUserCountryCode, select
import { doToast } from 'redux/actions/notifications';
import rewards from 'rewards';
import { Lbryio } from 'lbryinc';
import { DOMAIN } from 'config';
export function doFetchInviteStatus(shouldCallRewardList = true) {
return dispatch => {
@ -101,7 +102,7 @@ export function doAuthenticate(
type: ACTIONS.AUTHENTICATION_STARTED,
});
Lbryio.authenticate()
Lbryio.authenticate(DOMAIN)
.then(user => {
Lbryio.getAuthToken().then(token => {
dispatch({

View file

@ -7419,9 +7419,9 @@ lbry-redux@lbryio/lbry-redux#c86810038c966f5d88e1df7b787fbe1d31a96802:
reselect "^3.0.0"
uuid "^8.3.1"
lbryinc@lbryio/lbryinc#801f1590590962fe53fe6fb6d3a7012a636bb36b:
lbryinc@lbryio/lbryinc#9371b3181f9e38714a3986f56d2d10c534ef9dda:
version "0.0.1"
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/801f1590590962fe53fe6fb6d3a7012a636bb36b"
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/9371b3181f9e38714a3986f56d2d10c534ef9dda"
dependencies:
reselect "^3.0.0"