1
0
Fork 0
mirror of synced 2024-09-28 23:31:43 +12:00

Fix rev when uploading a new plugin

This commit is contained in:
Andrew Kingston 2022-08-12 16:19:29 +01:00
parent e9fc30afda
commit 449905116e

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,