You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Chore: Apply eslint rules
This commit is contained in:
@ -51,10 +51,10 @@ class SyncTargetOneDrive extends BaseSyncTarget {
|
||||
|
||||
this.api_.on('authRefreshed', a => {
|
||||
this.logger().info('Saving updated OneDrive auth.');
|
||||
Setting.setValue('sync.' + this.syncTargetId() + '.auth', a ? JSON.stringify(a) : null);
|
||||
Setting.setValue(`sync.${this.syncTargetId()}.auth`, a ? JSON.stringify(a) : null);
|
||||
});
|
||||
|
||||
let auth = Setting.value('sync.' + this.syncTargetId() + '.auth');
|
||||
let auth = Setting.value(`sync.${this.syncTargetId()}.auth`);
|
||||
if (auth) {
|
||||
try {
|
||||
auth = JSON.parse(auth);
|
||||
|
Reference in New Issue
Block a user