diff --git a/package.json b/package.json index f53cb0653e..aa1bbce301 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "eslint-config-prettier": "^9.1.0", "husky": "^9.1.4", "jest": "29.7.0", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "source-map-support": "^0.5.20", "supertest": "^7.0.0", "ts-jest": "29.2.4", diff --git a/src/routes/safes/safes.service.ts b/src/routes/safes/safes.service.ts index 57f76f0566..ac0069e6b6 100644 --- a/src/routes/safes/safes.service.ts +++ b/src/routes/safes/safes.service.ts @@ -310,7 +310,9 @@ export class SafesService { ) .map((tx) => { const isMultisig = 'safeTxHash' in tx && tx.safeTxHash !== undefined; - return isMultisig ? tx.modified ?? tx.submissionDate : tx.executionDate; + return isMultisig + ? (tx.modified ?? tx.submissionDate) + : tx.executionDate; }); return max(dates) ?? null; diff --git a/yarn.lock b/yarn.lock index 375937aeb4..c41fcdafd5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6839,12 +6839,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^3.3.2": - version: 3.3.2 - resolution: "prettier@npm:3.3.2" +"prettier@npm:^3.3.3": + version: 3.3.3 + resolution: "prettier@npm:3.3.3" bin: prettier: bin/prettier.cjs - checksum: 10/83214e154afa5aa9b664c2506640212323eb1376b13379b2413dc351b7de0687629dca3f00ff2ec895ebd7e3a2adb7d7e231b6c77606e2358137f2150807405b + checksum: 10/5beac1f30b5b40162532b8e2f7c3a4eb650910a2695e9c8512a62ffdc09dae93190c29db9107fa7f26d1b6c71aad3628ecb9b5de1ecb0911191099be109434d7 languageName: node linkType: hard @@ -7279,7 +7279,7 @@ __metadata: lodash: "npm:^4.17.21" nestjs-cls: "npm:^4.4.0" postgres: "npm:^3.4.4" - prettier: "npm:^3.3.2" + prettier: "npm:^3.3.3" redis: "npm:^4.7.0" reflect-metadata: "npm:^0.2.2" rxjs: "npm:^7.8.1"