Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Commit 0a2174b

Browse files
Update src/handlers/config.ts
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
1 parent 11d2f22 commit 0a2174b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/handlers/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ class apiHandler {
9797

9898
async createbackup(): Promise<string> {
9999
try {
100-
const backupFilename = await dbFunctions.backupDatabase();
101-
return backupFilename;
100+
return await dbFunctions.backupDatabase();
101+
102102
} catch (error) {
103103
const errMsg = error instanceof Error ? error.message : String(error);
104104
throw new Error(errMsg);

0 commit comments

Comments
 (0)