@budibase/backend-core 2.13.41 → 2.13.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -11098,11 +11098,8 @@ async function put(db, doc, writeRateMs = DEFAULT_WRITE_RATE_MS) {
11098
11098
  async () => {
11099
11099
  const writeDb = async (toWrite) => {
11100
11100
  const response = await db.put(toWrite, { force: true });
11101
- output = {
11102
- ...doc,
11103
- _id: response.id,
11104
- _rev: response.rev
11105
- };
11101
+ output._id = response.id;
11102
+ output._rev = response.rev;
11106
11103
  };
11107
11104
  try {
11108
11105
  await writeDb(doc);