diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-06-02 14:09:27 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-06-04 11:11:18 +0200 |
commit | 94ae04d3032a83a9455c4e2df20942aceea67574 (patch) | |
tree | 976a844657843bf0b5433c3719f088998707a293 /core/src/session-heartbeat.js | |
parent | 59c1ff690a88482ecba170b6f9b7624fc8a18a76 (diff) | |
download | nextcloud-server-94ae04d3032a83a9455c4e2df20942aceea67574.tar.gz nextcloud-server-94ae04d3032a83a9455c4e2df20942aceea67574.zip |
OC.routing is just a @nextcloud/routing proxy
So lets kill the duplicate code!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/src/session-heartbeat.js')
-rw-r--r-- | core/src/session-heartbeat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/session-heartbeat.js b/core/src/session-heartbeat.js index 9c9148d2c77..aab30c2c4cb 100644 --- a/core/src/session-heartbeat.js +++ b/core/src/session-heartbeat.js @@ -23,8 +23,8 @@ import $ from 'jquery' import { emit } from '@nextcloud/event-bus' import { loadState } from '@nextcloud/initial-state' import { getCurrentUser } from '@nextcloud/auth' +import { generateUrl } from '@nextcloud/router' -import { generateUrl } from './OC/routing' import OC from './OC' import { setToken as setRequestToken, getToken as getRequestToken } from './OC/requesttoken' |