Skip to content

Commit

Permalink
Merge branch 'feature/needs-ui' of github.com:fac30/things-we-do into…
Browse files Browse the repository at this point in the history
… feature/needs-ui
  • Loading branch information
jackcasstlesjones committed Dec 11, 2024
2 parents f36d434 + 9b8294d commit 020619a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/db/DatabaseManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,10 @@ class DatabaseManager {
);
}

// Await the patch operation
const updatedDocument = await document.patch({
[field]: update,
});

// Log after the update is complete
console.log(`Updated document in ${collectionName}:`, updatedDocument);
return updatedDocument;
} catch (error) {
Expand Down

0 comments on commit 020619a

Please sign in to comment.