diff --git a/frontend/src/utils/api.js b/frontend/src/utils/api.js index 9a1589e..5ab3c7a 100644 --- a/frontend/src/utils/api.js +++ b/frontend/src/utils/api.js @@ -484,7 +484,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) {