diff --git a/Sources/Views/CardFormViewViewModel.swift b/Sources/Views/CardFormViewViewModel.swift index 44f08f8..a87f29b 100644 --- a/Sources/Views/CardFormViewViewModel.swift +++ b/Sources/Views/CardFormViewViewModel.swift @@ -188,7 +188,7 @@ class CardFormViewViewModel: CardFormViewViewModelType { // 利用可能ブランドのチェック if let acceptedCardBrands = self.acceptedCardBrands { if cardNumberInput.brand != .unknown && !acceptedCardBrands.contains(cardNumberInput.brand) { - return .failure(.cardNumberInvalidError(value: cardNumberInput, isInstant: false)) + return .failure(.cardNumberInvalidBrandError(value: cardNumberInput, isInstant: true)) } } // 桁数チェック