Update PaperlessNG.vue

This commit is contained in:
Colin 2021-08-11 15:41:11 -07:00 committed by GitHub
parent 0dc3cea15e
commit 2f6d9e1b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ export default {
} }
const url = `${this.item.url}/api/documents/`; const url = `${this.item.url}/api/documents/`;
this.api = await fetch(url, { this.api = await fetch(url, {
credentials: 'include', credentials: "include",
headers: { headers: {
Authorization: "Token " + this.item.apikey, Authorization: "Token " + this.item.apikey,
}, },