1
0
Fork 0
mirror of synced 2024-09-10 22:46:09 +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",
"packages": [
"packages/*",

View file

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