@tomei/rental 0.17.4-dev.10 → 0.17.4-dev.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/rental",
3
- "version": "0.17.4-dev.10",
3
+ "version": "0.17.4-dev.11",
4
4
  "description": "Tomei Rental Package",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -236,8 +236,8 @@ export class JointHirer extends ObjectBase {
236
236
  'RentalId is empty.',
237
237
  );
238
238
  }
239
- console.log('JointHirer getRental', this.RentalId);
240
- this._Rental = await Rental.init(this.RentalId, dbTransaction);
239
+
240
+ this._Rental = await Rental.init(dbTransaction, this.RentalId);
241
241
 
242
242
  if (!this._Rental) {
243
243
  throw new ClassError(
@@ -128,7 +128,6 @@ export class Rental extends ObjectBase {
128
128
  }
129
129
  return new Rental();
130
130
  } catch (error) {
131
- console.error('Error initializing Rental:', error);
132
131
  throw new ClassError(
133
132
  'Rental',
134
133
  'RentalErrMsg00',