Refactor all backend database functions to include ctx for transactions #155
Labels
A: Backend
A task that concerns backend development
B: Refactor
Issue related to code refactoring/formatting
difficult
Issue that is relatively harder to fix
Describe the feature you'd like
All database functions should include a
ctx mongo.SessionContext
parameter to handle transactions. This should also be the FIRST parameter in all these functions.Pre-existing Issue or Justification
Mostly just for style and consistency
Additional context
No response
The text was updated successfully, but these errors were encountered: