From 85706495096ee62393a8dd919487535306faa739 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Mon, 31 May 2021 21:19:59 +0200 Subject: [PATCH] Adding missing dummy memory db implementation #45 --- src/backend/model/database/memory/AlbumManager.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/backend/model/database/memory/AlbumManager.ts b/src/backend/model/database/memory/AlbumManager.ts index 1a934461..08907560 100644 --- a/src/backend/model/database/memory/AlbumManager.ts +++ b/src/backend/model/database/memory/AlbumManager.ts @@ -3,7 +3,11 @@ import {SearchQueryDTO} from '../../../../common/entities/SearchQueryDTO'; import {IAlbumManager} from '../interfaces/IAlbumManager'; export class AlbumManager implements IAlbumManager { - addIfNotExistSavedSearch(name: string, searchQuery: SearchQueryDTO, lockedAlbum?: boolean): Promise { + public async onGalleryIndexUpdate(): Promise { + throw new Error('not supported by memory DB'); + } + + public async addIfNotExistSavedSearch(name: string, searchQuery: SearchQueryDTO, lockedAlbum?: boolean): Promise { throw new Error('not supported by memory DB'); }