Commit 58e26b150dfccc5742163bc768aa495a4d2d3141

Authored by Amber Dev
1 parent 503f476a7d

added change

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
src/Services/http.js
... ... @@ -58,9 +58,10 @@ export default () => {
58 58 switch (errorNo) {
59 59 case 401:
60 60 customError = "Session expired"
61   - vm1.$store.dispatch("setToken", null);
  61 + vm1.$store.dispatch("RESET_STORE", null);
  62 + console.log("store is - ",vm1.$store.state)
62 63 vm1.$router.push({ name: "Login" });
63   - vm1.$store.dispatch("Id", null);
  64 + // vm1.$store.dispatch("Id", null);
64 65  
65 66 break;
66 67 }
... ...