diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2021-09-13 12:55:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 12:55:14 -0700 |
commit | afe6d34ced84cb22868e26466f5e6928c5cd0d06 (patch) | |
tree | cfcfe23f270b2c1b332d2aab2d1eebf9950e4236 /src/components/services/PaperlessNG.vue | |
parent | 1ed0a2f387ebe3f0d0aef590087e351b9534efc0 (diff) | |
parent | bbe7149d5814efc1d97613af107b12ba8f8a1c22 (diff) | |
download | homer-afe6d34ced84cb22868e26466f5e6928c5cd0d06.tar.gz homer-afe6d34ced84cb22868e26466f5e6928c5cd0d06.tar.zst homer-afe6d34ced84cb22868e26466f5e6928c5cd0d06.zip |
Merge pull request #258 from mcclurec/sso-compliant-fetch-calls
SSO Compliant Fetch Calls
Diffstat (limited to 'src/components/services/PaperlessNG.vue')
-rw-r--r-- | src/components/services/PaperlessNG.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/services/PaperlessNG.vue b/src/components/services/PaperlessNG.vue index 4fb31f8..af13317 100644 --- a/src/components/services/PaperlessNG.vue +++ b/src/components/services/PaperlessNG.vue | |||
@@ -59,6 +59,7 @@ export default { | |||
59 | } | 59 | } |
60 | const url = `${this.item.url}/api/documents/`; | 60 | const url = `${this.item.url}/api/documents/`; |
61 | this.api = await fetch(url, { | 61 | this.api = await fetch(url, { |
62 | credentials: "include", | ||
62 | headers: { | 63 | headers: { |
63 | Authorization: "Token " + this.item.apikey, | 64 | Authorization: "Token " + this.item.apikey, |
64 | }, | 65 | }, |