Fixing build issue.

This commit is contained in:
mike12345567 2023-03-03 12:05:30 +00:00
parent 04ef7eeb9c
commit 96208a5e8a
1 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,9 @@ export async function getConfig<T extends Config>(
}
}
export async function save(config: Config) {
export async function save(
config: Config
): Promise<{ id: string; rev: string }> {
const db = context.getGlobalDB()
return db.put(config)
}