Bug-Fixing Analyse Fehler #87
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user