From 555b56546cf9215e367594af10d159b2ba20d127 Mon Sep 17 00:00:00 2001 From: Yashar PourMohammad Date: Sat, 20 Jul 2024 12:27:12 +0000 Subject: [PATCH] Merge branch 'master' of https://github.com/remotestorage/remotestorage.js into merger --- src/authorize.ts | 2 +- test/unit/remotestorage-suite.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/authorize.ts b/src/authorize.ts index 40debd529..09de233c6 100644 --- a/src/authorize.ts +++ b/src/authorize.ts @@ -106,7 +106,7 @@ class Authorize { * browser will navigate back to redirectUri and OAuth will continue * with onFeaturesLoaded. */ - static authorize (remoteStoFrage: RemoteStorage, options: AuthorizeOptions): void { + static authorize (remoteStorage: RemoteStorage, options: AuthorizeOptions): void { log('[Authorize] authURL = ', options.authURL, 'scope = ', options.scope, 'redirectUri = ', options.redirectUri, 'clientId = ', options.clientId, 'response_type =', options.response_type ); if (!options.scope) { diff --git a/test/unit/remotestorage-suite.js b/test/unit/remotestorage-suite.js index 26c8a6a7c..93eec2821 100644 --- a/test/unit/remotestorage-suite.js +++ b/test/unit/remotestorage-suite.js @@ -407,9 +407,9 @@ define(['require', 'tv4', './build/eventhandling', './build/util'], initsCalled++; if (initsCalled === 1) { // ignore first init, as that's from original initialization - test.assertAnd(env.rs._cleanups.length, 4); + test.assertAnd(env.rs._cleanups.length, 5); } else { - test.assertAnd(env.rs._cleanups.length, 4); + test.assertAnd(env.rs._cleanups.length, 5); } if (initsCalled === 2) {