Skip to content

Commit

Permalink
test: check if lint workflow fails on error
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-ossai-cko committed Nov 28, 2023
1 parent ac0626e commit 230fdb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Risk/Risk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class Risk {

public func publishData (cardToken: String? = nil, completion: @escaping (Result<PublishRiskData, RiskError>) -> Void) {
fingerprintService.publishData { fpResult in
switch fpResult {
switch fpResult
case .failure(let errorMessage):
completion(.failure(errorMessage))
case .success(let requestID):
Expand Down

0 comments on commit 230fdb6

Please sign in to comment.