@tomei/rental 0.17.4-dev.7 → 0.17.4-dev.9

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.7",
3
+ "version": "0.17.4-dev.9",
4
4
  "description": "Tomei Rental Package",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -4,8 +4,8 @@ import { IJointHirerAttr } from '../../interfaces/joint-hirer-attr.interface';
4
4
  import { ApplicationConfig } from '@tomei/config';
5
5
  import { LoginUser } from '@tomei/sso';
6
6
  import { ActionEnum, Activity } from '@tomei/activity-history';
7
- import { Rental } from 'components/rental/rental';
8
- import { RentalAccountTypeEnum } from 'enum';
7
+ import { Rental } from '../rental/rental';
8
+ import { RentalAccountTypeEnum } from '../../enum/account-type.enum';
9
9
 
10
10
  export class JointHirer extends ObjectBase {
11
11
  ObjectId: string;
@@ -128,10 +128,11 @@ export class Rental extends ObjectBase {
128
128
  }
129
129
  return new Rental();
130
130
  } catch (error) {
131
+ console.error('Error initializing Rental:', error);
131
132
  throw new ClassError(
132
133
  'Rental',
133
134
  'RentalErrMsg00',
134
- 'Failed To Initialize Price',
135
+ 'Failed To Initialize Rental',
135
136
  );
136
137
  }
137
138
  }