@goweekdays/core 0.0.7 → 0.0.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @goweekdays/core
2
2
 
3
+ ## 0.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 31c434e: fix organization creation with session
8
+
3
9
  ## 0.0.7
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -19215,7 +19215,7 @@ function useOrgRepo() {
19215
19215
  async function add(value, session) {
19216
19216
  try {
19217
19217
  value = MOrg(value);
19218
- const res = await collection.insertOne(value, session);
19218
+ const res = await collection.insertOne(value, { session });
19219
19219
  return res.insertedId;
19220
19220
  } catch (error) {
19221
19221
  import_utils58.logger.log({