diff --git a/apps/whale-api/src/module.database/database.ts b/apps/whale-api/src/module.database/database.ts index 412c4e8ecc..345a595b0c 100644 --- a/apps/whale-api/src/module.database/database.ts +++ b/apps/whale-api/src/module.database/database.ts @@ -39,7 +39,7 @@ export abstract class Database { id: string ): Promise - abstract dump (): Promise>> + abstract dump (): Promise } export enum SortOrder { diff --git a/apps/whale-api/src/module.database/provider.level/level.database.ts b/apps/whale-api/src/module.database/provider.level/level.database.ts index 74e704cc90..5885c0f2bd 100644 --- a/apps/whale-api/src/module.database/provider.level/level.database.ts +++ b/apps/whale-api/src/module.database/provider.level/level.database.ts @@ -27,7 +27,7 @@ export abstract class LevelUpDatabase extends Database { await this.root.close() } - async dump (): Promise { + async dump (): Promise { let id = 0 const maxSize = 500_000 const dir = path.join(process.cwd(), 'dump')