aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/PaperlessNG.vue
diff options
context:
space:
mode:
authorColin <mcclurec@gmail.com>2021-08-11 15:37:17 -0700
committerGitHub <noreply@github.com>2021-08-11 15:37:17 -0700
commitcf2fb08dc72cee1add0e6e9b3d4ba19b38da88d3 (patch)
treeef25e25e7740817ffd2f1a9e42a6dc208dc06437 /src/components/services/PaperlessNG.vue
parent077be43473ebdb241c6a70e4d06795ca80a591fb (diff)
downloadhomer-cf2fb08dc72cee1add0e6e9b3d4ba19b38da88d3.tar.gz
homer-cf2fb08dc72cee1add0e6e9b3d4ba19b38da88d3.tar.zst
homer-cf2fb08dc72cee1add0e6e9b3d4ba19b38da88d3.zip
Update PaperlessNG.vue
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..63a49a9 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 },