BOD-14 WIP. CSS issues present with 2 way texting, but working live.
This commit is contained in:
@@ -29,7 +29,6 @@ export default class AppContainer extends Component {
|
||||
connectionParams: async () => {
|
||||
//const token = localStorage.getItem("token");
|
||||
const token = await auth.currentUser.getIdToken(true);
|
||||
console.log("token", token);
|
||||
if (token) {
|
||||
return {
|
||||
headers: {
|
||||
@@ -42,7 +41,6 @@ export default class AppContainer extends Component {
|
||||
});
|
||||
const subscriptionMiddleware = {
|
||||
applyMiddleware: async (options, next) => {
|
||||
console.log("SubMiddleware");
|
||||
options.authToken = await auth.currentUser.getIdToken(true);
|
||||
next();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user