Skip to content

Commit 1f7099a

Browse files
authoredNov 15, 2024
Merge pull request #133 from tazama-lf/bump-frms-coe-lib-version
fix: Bump frms-coe-lib version to 5.0.0-rc.5
2 parents a2a1b2a + 8df4023 commit 1f7099a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed
 

‎__tests__/unit/app.report.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('handleGetReportRequestByMsgId', () => {
5454
const msgid = 'test-msg-id';
5555
const result = await handleGetReportRequestByMsgId(msgid);
5656

57-
expect(databaseManager.getReportByMessageId).toHaveBeenCalledWith('transactions', msgid);
57+
expect(databaseManager.getReportByMessageId).toHaveBeenCalledWith(msgid);
5858
expect(unwrap).toHaveBeenCalledWith([mockReport]);
5959
expect(result).toBe(mockReport);
6060
expect(loggerService.log).toHaveBeenCalledWith(`Started handling get request by message id the message id is ${msgid}`);
@@ -68,7 +68,7 @@ describe('handleGetReportRequestByMsgId', () => {
6868
const msgid = 'test-msg-id';
6969
await expect(handleGetReportRequestByMsgId(msgid)).rejects.toThrow(errorMessage);
7070

71-
expect(databaseManager.getReportByMessageId).toHaveBeenCalledWith('transactions', msgid);
71+
expect(databaseManager.getReportByMessageId).toHaveBeenCalledWith(msgid);
7272
expect(loggerService.log).toHaveBeenCalledWith(
7373
`Failed fetching report from database service with error message: ${errorMessage}`,
7474
'handleGetReportRequestByMsgId()',

‎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)