@loomcore/api 0.0.44 → 0.0.45

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.
@@ -412,12 +412,12 @@ export class GenericApiService {
412
412
  }));
413
413
  }
414
414
  async prepareEntity(userContext, entity, isCreate, allowId = false) {
415
+ console.log(`ENTRY: prepareEntity called with allowId = ${allowId}`);
415
416
  const preparedEntity = _.clone(entity);
416
417
  console.log(`in prepareEntity, pluralResourceName is ${this.pluralResourceName}`);
417
418
  console.log(`before stripping system properties, preparedEntity is ${JSON.stringify(preparedEntity)}`);
418
419
  console.log(`modelSpec is present = ${this.modelSpec !== undefined}`);
419
420
  console.log(`allowId is ${allowId}`);
420
- console.log(`About to call stripSenderProvidedSystemProperties with allowId = ${allowId}`);
421
421
  this.stripSenderProvidedSystemProperties(userContext, preparedEntity, allowId);
422
422
  console.log(`after stripping system properties, preparedEntity is ${JSON.stringify(preparedEntity)}`);
423
423
  if (this.modelSpec?.isAuditable) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loomcore/api",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "private": false,
5
5
  "description": "Loom Core Api - An opinionated Node.js api using Typescript, Express, and MongoDb",
6
6
  "scripts": {