aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/PaperlessNG.vue
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2021-09-13 12:55:14 -0700
committerGitHub <noreply@github.com>2021-09-13 12:55:14 -0700
commitafe6d34ced84cb22868e26466f5e6928c5cd0d06 (patch)
treecfcfe23f270b2c1b332d2aab2d1eebf9950e4236 /src/components/services/PaperlessNG.vue
parent1ed0a2f387ebe3f0d0aef590087e351b9534efc0 (diff)
parentbbe7149d5814efc1d97613af107b12ba8f8a1c22 (diff)
downloadhomer-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.vue1
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 },