Fix rev when uploading a new plugin

This commit is contained in:
Andrew Kingston 2022-08-12 16:19:29 +01:00
parent 8eb6400252
commit 6c7a7648d9
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export async function upload(ctx: any) {
const existing = await db.get(pluginId)
rev = existing._rev
} catch (err) {
rev = null
rev = undefined
}
const doc = {
_id: pluginId,