diff options
author | dartcafe <github@dartcafe.de> | 2022-06-22 21:43:58 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2022-06-22 21:43:58 +0300 |
commit | d52eda2071eccaaf7a729d133392ce8d91265eac (patch) | |
tree | c6b1c2f6b5b585b02435b7fb92b3a19d249601f4 /src/js/mixins/watchPolls.js | |
parent | 717d75772558704ff18f0020dd905ab59d9c806b (diff) |
Accept: 'application/json' in http headersref/watch-error-handling
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/mixins/watchPolls.js')
-rw-r--r-- | src/js/mixins/watchPolls.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/mixins/watchPolls.js b/src/js/mixins/watchPolls.js index 65f486c1..aadfcbfb 100644 --- a/src/js/mixins/watchPolls.js +++ b/src/js/mixins/watchPolls.js @@ -128,6 +128,7 @@ export const watchPolls = { return await axios.get(generateUrl(this.endPoint), { params: { offset: this.lastUpdated }, cancelToken: this.cancelToken.token, + headers: { Accept: 'application/json' }, }) }, |