Skip to content

Commit

Permalink
Change notification to SaleToPOIRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
kaphacius committed Sep 28, 2022
1 parent ce12b87 commit f731f9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/TerminalAPIKit/Coding/StringCodingKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ internal extension StringCodingKey {

init(for type: MessageType) {
switch type {
case .request:
case .request, .notification:
self.init(value: "SaleToPOIRequest")
case .response, .notification:
case .response:
self.init(value: "SaleToPOIResponse")
}
}
Expand Down

0 comments on commit f731f9a

Please sign in to comment.