Skip to content

Commit 11519ac

Browse files
committed
fix: bump the frms-coe-lib version and refactor get report function
1 parent a2a1b2a commit 11519ac

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@fastify/swagger": "^8.8.0",
3737
"@fastify/swagger-ui": "^3.0.0",
3838
"@tazama-lf/auth-lib": "^0.0.9",
39-
"@tazama-lf/frms-coe-lib": "^5.0.0-rc.4",
39+
"@tazama-lf/frms-coe-lib": "^5.0.0-rc.5",
4040
"ajv": "^8.16.0",
4141
"dotenv": "^16.0.3",
4242
"fastify": "^4.27.0",

src/services/report.logic.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const handleGetReportRequestByMsgId = async (msgid: string): Promise<Repo
88
try {
99
loggerService.log(`Started handling get request by message id the message id is ${msgid}`);
1010

11-
const report = (await databaseManager.getReportByMessageId('transactions', msgid)) as Report[][];
11+
const report = (await databaseManager.getReportByMessageId(msgid)) as Report[][];
1212

1313
unWrappedReport = unwrap<Report>(report);
1414
} catch (error) {

0 commit comments

Comments
 (0)