diff --git a/src/api/auth.js b/src/api/auth.js index f8b3c6b..4457992 100644 --- a/src/api/auth.js +++ b/src/api/auth.js @@ -5,7 +5,7 @@ // ───────────────────────────────────────────────────────────────────────────── import { BASE_URL } from 'src/config/erpnext' -const SERVICE_TOKEN = 'b273a666c86d2d0:613842e506d13b8' +const SERVICE_TOKEN = 'b273a666c86d2d0:06120709db5e414' export function authFetch (url, opts = {}) { opts.headers = { ...opts.headers, Authorization: 'token ' + SERVICE_TOKEN } diff --git a/src/stores/auth.js b/src/stores/auth.js index 7487693..41db883 100644 --- a/src/stores/auth.js +++ b/src/stores/auth.js @@ -9,7 +9,7 @@ import { ref } from 'vue' import { BASE_URL } from 'src/config/erpnext' // Service token for ERPNext API — all dispatch API calls use this -const ERP_SERVICE_TOKEN = 'b273a666c86d2d0:613842e506d13b8' +const ERP_SERVICE_TOKEN = 'b273a666c86d2d0:06120709db5e414' export const useAuthStore = defineStore('auth', () => { const user = ref(null)