Spaces:
Runtime error
Runtime error
Commit ·
fbb83a2
1
Parent(s): 008962f
Remove name from updateonduplicate condition from gl account service
Browse files
src/shared/services/glaccounts.service.ts
CHANGED
|
@@ -43,7 +43,7 @@ export const syncGlAccountsFromJsonService = async (): Promise<string> => {
|
|
| 43 |
|
| 44 |
|
| 45 |
await PWGlaccounts.bulkCreate(glAccountsResponseData, {
|
| 46 |
-
updateOnDuplicate: ['
|
| 47 |
});
|
| 48 |
|
| 49 |
logger.info("Total " + glAccountsResponseData.length + " GL Accounts synced successfully");
|
|
|
|
| 43 |
|
| 44 |
|
| 45 |
await PWGlaccounts.bulkCreate(glAccountsResponseData, {
|
| 46 |
+
updateOnDuplicate: ['account_number'],
|
| 47 |
});
|
| 48 |
|
| 49 |
logger.info("Total " + glAccountsResponseData.length + " GL Accounts synced successfully");
|