We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 452b672 commit a203968Copy full SHA for a203968
core/src/OC/eventsource.js
@@ -7,7 +7,7 @@
7
/* eslint-disable */
8
import $ from 'jquery'
9
10
-import { getToken } from './requesttoken.ts'
+import { getRequestToken } from './requesttoken.ts'
11
12
/**
13
* Create a new event source
@@ -28,7 +28,7 @@ const OCEventSource = function(src, data) {
28
dataStr += name + '=' + encodeURIComponent(data[name]) + '&'
29
}
30
31
- dataStr += 'requesttoken=' + encodeURIComponent(getToken())
+ dataStr += 'requesttoken=' + encodeURIComponent(getRequestToken())
32
if (!this.useFallBack && typeof EventSource !== 'undefined') {
33
joinChar = '&'
34
if (src.indexOf('?') === -1) {
0 commit comments