Skip to content
Snippets Groups Projects
Commit f641296d authored by Steve Reis's avatar Steve Reis
Browse files

fix: Axios and node mismatch type on headers

parent b87dee25
No related branches found
No related tags found
No related merge requests found
...@@ -199,7 +199,7 @@ export default class ExaremeService implements IEngineService { ...@@ -199,7 +199,7 @@ export default class ExaremeService implements IEngineService {
return this.httpService return this.httpService
.get<string>(path, { .get<string>(path, {
headers: this.req.headers, headers: this.headers,
}) })
.pipe(map((response) => response.data)); .pipe(map((response) => response.data));
} }
...@@ -209,7 +209,7 @@ export default class ExaremeService implements IEngineService { ...@@ -209,7 +209,7 @@ export default class ExaremeService implements IEngineService {
return this.httpService return this.httpService
.post<string>(path, this.req.body, { .post<string>(path, this.req.body, {
headers: this.req.headers, headers: this.headers,
}) })
.pipe(map((response) => response.data)); .pipe(map((response) => response.data));
} }
...@@ -219,7 +219,7 @@ export default class ExaremeService implements IEngineService { ...@@ -219,7 +219,7 @@ export default class ExaremeService implements IEngineService {
return this.httpService return this.httpService
.get<string>(path, { .get<string>(path, {
headers: this.req.headers, headers: this.headers,
}) })
.pipe(map((response) => response.data)); .pipe(map((response) => response.data));
} }
...@@ -229,7 +229,7 @@ export default class ExaremeService implements IEngineService { ...@@ -229,7 +229,7 @@ export default class ExaremeService implements IEngineService {
return this.httpService return this.httpService
.delete(path, { .delete(path, {
headers: this.req.headers, headers: this.headers,
}) })
.pipe(map((response) => response.data)); .pipe(map((response) => response.data));
} }
...@@ -239,7 +239,7 @@ export default class ExaremeService implements IEngineService { ...@@ -239,7 +239,7 @@ export default class ExaremeService implements IEngineService {
return this.httpService return this.httpService
.patch(path, this.req.body, { .patch(path, this.req.body, {
headers: this.req.headers, headers: this.headers,
}) })
.pipe(map((response) => response.data)); .pipe(map((response) => response.data));
} }
...@@ -249,7 +249,7 @@ export default class ExaremeService implements IEngineService { ...@@ -249,7 +249,7 @@ export default class ExaremeService implements IEngineService {
return this.httpService return this.httpService
.post(path, this.req.body, { .post(path, this.req.body, {
headers: this.req.headers, headers: this.headers,
}) })
.pipe(map((response) => response.data)); .pipe(map((response) => response.data));
} }
...@@ -259,7 +259,7 @@ export default class ExaremeService implements IEngineService { ...@@ -259,7 +259,7 @@ export default class ExaremeService implements IEngineService {
return this.httpService return this.httpService
.post(path, this.req.body, { .post(path, this.req.body, {
headers: this.req.headers, headers: this.headers,
}) })
.pipe(map((response) => response.data)); .pipe(map((response) => response.data));
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment