1
0
Fork 0
mirror of synced 2024-09-17 17:57:47 +12:00

Merge branch 'master' into fix-hover-component-spam

This commit is contained in:
Adria Navarro 2023-12-14 17:56:46 +01:00 committed by GitHub
commit 40e43a317b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View file

@ -1,5 +1,5 @@
{ {
"version": "2.13.41", "version": "2.13.42",
"npmClient": "yarn", "npmClient": "yarn",
"packages": [ "packages": [
"packages/*", "packages/*",

View file

@ -56,11 +56,8 @@ async function put(
const writeDb = async (toWrite: any) => { const writeDb = async (toWrite: any) => {
// doc should contain the _id and _rev // doc should contain the _id and _rev
const response = await db.put(toWrite, { force: true }) const response = await db.put(toWrite, { force: true })
output = { output._id = response.id
...doc, output._rev = response.rev
_id: response.id,
_rev: response.rev,
}
} }
try { try {
await writeDb(doc) await writeDb(doc)