diff --git a/frontend/src/utils/api.js b/frontend/src/utils/api.js index 287a975..05eaa19 100644 --- a/frontend/src/utils/api.js +++ b/frontend/src/utils/api.js @@ -410,7 +410,7 @@ export const api = { // TODO: Security improvement - use session cookie instead of token in URL // For now, send token as query param since EventSource doesn't support custom headers - const token = localStorage.getItem('token') + const token = getToken() if (token) params.append('token', token) if (modules) {