Skip to content

Commit

Permalink
[Feat] sopt-makers#336 - Moya ValidationType에 Fail StatusCode를 401만으로 축소
Browse files Browse the repository at this point in the history
  • Loading branch information
lsj8706 committed Dec 27, 2023
1 parent 70a9bc5 commit dd3bcf4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ extension BaseAPI {
}

public var validationType: ValidationType {
return .successCodes
return .customCodes(Array(200..<600).filter { $0 != 401 })
}
}

Expand Down

0 comments on commit dd3bcf4

Please sign in to comment.