Skip to content

Commit c816cfe

Browse files
author
Gerald Baulig
committed
fix(dhl): tracking status codes have changed
1 parent b345f42 commit c816cfe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/stubs/dhl_soap.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ const DHLEvent2FulfillmentEvent = (attributes: any): Event => ({
181181
},
182182
status: {
183183
id: attributes['event-short-status'],
184-
code: attributes['standard-event-code'],
184+
// TODO: parse DHL event codes
185+
// code: attributes['standard-event-code'],
186+
code: 200,
185187
message: attributes['event-text']
186188
}
187189
});

0 commit comments

Comments
 (0)