Skip to content

Commit fb7b8e8

Browse files
committed
L:P-857 Undo post/put mapping for filing_mode
1 parent e400731 commit fb7b8e8

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/services/transaction/service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export default class TransactionService {
7878
links: body.links,
7979
reference: body.reference,
8080
status: body.status,
81-
filingMode: body.filing_mode,
8281
kind: body.kind,
8382
companyName: body.company_name,
8483
companyNumber: body.company_number,
@@ -170,7 +169,6 @@ export default class TransactionService {
170169
created_by: transaction.createdBy,
171170
description: transaction.description,
172171
etag: transaction.etag,
173-
filing_mode: transaction.filingMode,
174172
id: transaction.id,
175173
kind: transaction.kind,
176174
links: transaction.links,

test/services/transaction/service.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ describe("transaction", () => {
4242
id: "12345678",
4343
company_name: "HELLO LTD",
4444
company_number: "88",
45-
filing_mode: "default",
4645
links: {
4746
self: "/self"
4847
},
@@ -73,7 +72,6 @@ describe("transaction", () => {
7372
const resource = castedData.resource;
7473
expect(resource?.companyName).to.equal(mockResponseBody.company_name);
7574
expect(resource?.companyNumber).to.equal(mockResponseBody.company_number);
76-
expect(resource?.filingMode).to.equal(mockResponseBody.filing_mode);
7775
expect(resource?.links?.self).to.equal(mockResponseBody.links?.self);
7876
expect(resource?.reference).to.equal(mockResponseBody.reference);
7977
expect(resource?.description).to.equal(mockResponseBody.description);

0 commit comments

Comments
 (0)