mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-02-12 16:50:05 -06:00
renamed service variables to conform to new naming scheme
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
"use strict";
|
||||
|
||||
import protected_session from './protected_session.js';
|
||||
import protectedSessionService from './protected_session.js';
|
||||
import utils from './utils.js';
|
||||
|
||||
function getHeaders() {
|
||||
let protectedSessionId = null;
|
||||
|
||||
try { // this is because protected session might not be declared in some cases - like when it's included in migration page
|
||||
protectedSessionId = protected_session.getProtectedSessionId();
|
||||
protectedSessionId = protectedSessionService.getProtectedSessionId();
|
||||
}
|
||||
catch(e) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user