mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-10 12:18:31 -04:00
Allow unused vars in args and fix more eslint issues
This commit is contained in:
parent
2e3414135f
commit
8d8c38b1a8
17 changed files with 52 additions and 66 deletions
|
@ -1,6 +1,6 @@
|
|||
import { io } from "socket.io-client";
|
||||
import { useToast } from "vue-toastification";
|
||||
import jwt_decode from "jwt-decode";
|
||||
import jwtDecode from "jwt-decode";
|
||||
import Favico from "favico.js";
|
||||
const toast = useToast();
|
||||
|
||||
|
@ -266,7 +266,7 @@ export default {
|
|||
const jwtToken = this.$root.storage().token;
|
||||
|
||||
if (jwtToken && jwtToken !== "autoLogin") {
|
||||
return jwt_decode(jwtToken);
|
||||
return jwtDecode(jwtToken);
|
||||
}
|
||||
return undefined;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue