@ai0x0/utils 0.0.10 → 0.0.11

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.
@@ -84,9 +84,9 @@ export var createPostOperation = function createPostOperation(_ref) {
84
84
  bodySchema: bodySchema,
85
85
  db: db,
86
86
  table: table
87
- })(_objectSpread(_objectSpread({}, body), {}, {
87
+ })(_objectSpread({
88
88
  creatorId: userId
89
- }));
89
+ }, body));
90
90
  case 21:
91
91
  _yield$createPostActi = _context.sent;
92
92
  _yield$createPostActi2 = _slicedToArray(_yield$createPostActi, 1);
@@ -76,9 +76,9 @@ export var createPutOperation = function createPutOperation(_ref) {
76
76
  bodySchema: bodySchema,
77
77
  table: table,
78
78
  db: db
79
- })(_objectSpread(_objectSpread({}, body), {}, {
79
+ })(_objectSpread({
80
80
  editorId: userId
81
- }), {
81
+ }, body), {
82
82
  byCreator: byCreator
83
83
  });
84
84
  case 20: