Update PiHole.vue

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

View File

@ -65,7 +65,7 @@ export default {
fetchStatus: async function () {
const url = `${this.item.url}/api.php`;
this.api = await fetch(url{
credentials: 'include'
credentials: "include",
})
.then((response) => response.json())
.catch((e) => console.log(e));