@tomei/finance 0.6.112 → 0.6.114

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/finance",
3
- "version": "0.6.112",
3
+ "version": "0.6.114",
4
4
  "description": "NestJS package for finance module",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -211,7 +211,7 @@ export default class Account extends AccountSystemEntity {
211
211
  AccSystemRefId: string,
212
212
  userId: string,
213
213
  dbTransaction?: any,
214
- ): Promise<AccountModel> {
214
+ ): Promise<Account> {
215
215
  this.AccSystemRefId = AccSystemRefId;
216
216
  console.log('Account Save: Before AccountNo FindOne');
217
217
 
@@ -302,6 +302,6 @@ export default class Account extends AccountSystemEntity {
302
302
 
303
303
  console.log(data, 'Account Save: Account details returned');
304
304
 
305
- return data;
305
+ return this;
306
306
  }
307
307
  }