Skip to content

Commit d8ecb6e

Browse files
rm thid from message
1 parent 1252b2e commit d8ecb6e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/iden3comm/handlers/problem-report.ts

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export function createProblemReportMessage(
2525
const uuidv4 = uuid.v4();
2626
return {
2727
id: uuidv4,
28-
thid: uuidv4,
2928
pthid: pthid,
3029
typ: MediaType.PlainMessage,
3130
type: PROTOCOL_MESSAGE_TYPE.PROBLEM_REPORT_MESSAGE_TYPE,

tests/handlers/problem-report.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ describe('Problem Report Handler', () => {
3737
}
3838
);
3939
delete problemReport.id;
40-
delete problemReport.thid;
4140
const expected = JSON.parse(example);
4241
expect(problemReport).to.be.deep.equal(expected);
4342
});

0 commit comments

Comments
 (0)