Commit de2bd4eb9ed980488796d1f8ab2c2173b3eaf132

Authored by Shikha Mishra
1 parent 25205ccca8

issue solved related to api

src/components/pageHeader/AppToolbar.vue
... ... @@ -107,9 +107,9 @@ export default {
107 107 getUserData() {
108 108 http()
109 109 .get("/getParticularUserDetail", {
110   - headers: {
111   - Authorization: "Bearer " + this.$store.state.token
112   - }
  110 + // headers: {
  111 + // Authorization: "Bearer " + this.$store.state.token
  112 + // }
113 113 })
114 114 .then(response => {
115 115 this.userData = response.data.data;
... ...
src/pages/Dashboard/dashboard.vue
... ... @@ -462,9 +462,9 @@ export default {
462 462 getStudents() {
463 463 http()
464 464 .get("/getStudentsList", {
465   - headers: {
466   - Authorization: "Bearer " + this.$store.state.token
467   - }
  465 + // headers: {
  466 + // Authorization: "Bearer " + this.$store.state.token
  467 + // }
468 468 })
469 469 .then(response => {
470 470 this.students = response.data.data;
... ... @@ -483,9 +483,9 @@ export default {
483 483 getParents() {
484 484 http()
485 485 .get("/getParentsList", {
486   - headers: {
487   - Authorization: "Bearer " + this.$store.state.token
488   - }
  486 + // headers: {
  487 + // Authorization: "Bearer " + this.$store.state.token
  488 + // }
489 489 })
490 490 .then(response => {
491 491 this.parents = response.data.data;
... ... @@ -504,9 +504,9 @@ export default {
504 504 getTeachers() {
505 505 http()
506 506 .get("/getTeachersList", {
507   - headers: {
508   - Authorization: "Bearer " + this.$store.state.token
509   - }
  507 + // headers: {
  508 + // Authorization: "Bearer " + this.$store.state.token
  509 + // }
510 510 })
511 511 .then(response => {
512 512 this.teachers = response.data.data;
... ... @@ -525,9 +525,9 @@ export default {
525 525 getClasses() {
526 526 http()
527 527 .get("/getClassesList", {
528   - headers: {
529   - Authorization: "Bearer " + this.$store.state.token
530   - }
  528 + // headers: {
  529 + // Authorization: "Bearer " + this.$store.state.token
  530 + // }
531 531 })
532 532 .then(response => {
533 533 this.classes = response.data.data;
... ... @@ -547,9 +547,9 @@ export default {
547 547 this.showLoader = true;
548 548 http()
549 549 .get("/getEventsList", {
550   - headers: {
551   - Authorization: "Bearer " + this.$store.state.token
552   - }
  550 + // headers: {
  551 + // Authorization: "Bearer " + this.$store.state.token
  552 + // }
553 553 })
554 554 .then(response => {
555 555 this.noticeData = response.data.data;
... ... @@ -568,9 +568,9 @@ export default {
568 568 // this.showLoader = true;
569 569 http()
570 570 .get("/getParticularUserDetail", {
571   - headers: {
572   - Authorization: "Bearer " + this.$store.state.token
573   - }
  571 + // headers: {
  572 + // Authorization: "Bearer " + this.$store.state.token
  573 + // }
574 574 })
575 575 .then(response => {
576 576 this.userData = response.data.data;
... ...
src/pages/School/school.vue
... ... @@ -834,7 +834,7 @@ export default {
834 834 this.showLoader = true;
835 835 http()
836 836 .get("/getSchoolList", {
837   - headers: { Authorization: "Bearer " + this.$store.state.token }
  837 + // headers: { Authorization: "Bearer " + this.$store.state.token }
838 838 })
839 839 .then(response => {
840 840 this.schoolList = response.data.data;
... ...