Skip to content

Commit

Permalink
use new callback body struct
Browse files Browse the repository at this point in the history
  • Loading branch information
svojsu committed Dec 18, 2024
1 parent 7f4a513 commit a8381e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extension MercuryoCardStatusHandler: PayCardMessageHandling {
return
}

let statusChange = try JSONDecoder().decode(MercuryoStatusChange.self, from: message)
let statusChange = try JSONDecoder().decode(MercuryoCallbackBody.self, from: message)

logger.debug("New status: \(statusChange)")

Expand Down

0 comments on commit a8381e9

Please sign in to comment.