From 5f168a8637093c7939fc4ac05b22511a5c7c678e Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Wed, 11 Dec 2024 14:13:09 +0100 Subject: [PATCH] Allow 'solid' as a value for backendType --- src/remotestorage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remotestorage.ts b/src/remotestorage.ts index 8ceb63b4d..e8b0ff18c 100644 --- a/src/remotestorage.ts +++ b/src/remotestorage.ts @@ -389,7 +389,7 @@ export class RemoteStorage { const backendType = localStorage.getItem('remotestorage:backend'); - if (backendType === 'dropbox' || backendType === 'googledrive') { + if (backendType === 'dropbox' || backendType === 'googledrive' || backendType === 'solid') { this.setBackend(backendType); } else { this.setBackend('remotestorage'); @@ -681,7 +681,7 @@ export class RemoteStorage { /** * @internal */ - setBackend (backendType: 'remotestorage' | 'dropbox' | 'googledrive'): void { + setBackend (backendType: 'remotestorage' | 'dropbox' | 'googledrive' | 'solid'): void { this.backend = backendType; if (hasLocalStorage) {