Skip to content

Commit 82982cc

Browse files
skjnldsvnextcloud-command
authored andcommitted
fix(core): getRequestToken import typo
Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 0f40e37 commit 82982cc

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

core/src/OC/eventsource.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/* eslint-disable */
88
import $ from 'jquery'
99

10-
import { getToken } from './requesttoken.ts'
10+
import { getRequestToken } from './requesttoken.ts'
1111

1212
/**
1313
* Create a new event source
@@ -28,7 +28,7 @@ const OCEventSource = function(src, data) {
2828
dataStr += name + '=' + encodeURIComponent(data[name]) + '&'
2929
}
3030
}
31-
dataStr += 'requesttoken=' + encodeURIComponent(getToken())
31+
dataStr += 'requesttoken=' + encodeURIComponent(getRequestToken())
3232
if (!this.useFallBack && typeof EventSource !== 'undefined') {
3333
joinChar = '&'
3434
if (src.indexOf('?') === -1) {

dist/core-login.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-login.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)