Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hopsaheysa committed Dec 6, 2023
1 parent 09dee79 commit 834a5b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class WMTAuthorizationData: Codable {
self.proximityCheck = WMTProximityCheckData(
otp: proximityCheck.totp,
type: proximityCheck.type,
timestampRecieved: proximityCheck.timestampRecieved,
timestampReceived: proximityCheck.timestampReceived,
timestampSent: timestampSent
)
}
Expand All @@ -62,7 +62,7 @@ struct WMTProximityCheckData: Codable {
let type: WMTProximityCheckType

/// Timestamp when the operation was delivered to the app
let timestampRecieved: Date
let timestampReceived: Date

/// Timestamp when the operation was signed
let timestampSent: Date
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ public class WMTProximityCheck: Codable {
public let type: WMTProximityCheckType

/// Timestamp when the operation was scanned (qrCode) or delivered to the device (deeplink)
public let timestampRecieved: Date
public let timestampReceived: Date

public init(totp: String, type: WMTProximityCheckType, timestampRecieved: Date = Date()) {
public init(totp: String, type: WMTProximityCheckType, timestampReceived: Date = Date()) {
self.totp = totp
self.type = type
self.timestampRecieved = timestampRecieved
self.timestampReceived = timestampReceived
}
}

Expand Down

0 comments on commit 834a5b5

Please sign in to comment.