diff --git a/sdk/src/commonMain/kotlin/io/timemates/sdk/authorization/sessions/types/value/ConfirmationCode.kt b/sdk/src/commonMain/kotlin/io/timemates/sdk/authorization/sessions/types/value/ConfirmationCode.kt index f31043f..343c717 100644 --- a/sdk/src/commonMain/kotlin/io/timemates/sdk/authorization/sessions/types/value/ConfirmationCode.kt +++ b/sdk/src/commonMain/kotlin/io/timemates/sdk/authorization/sessions/types/value/ConfirmationCode.kt @@ -10,7 +10,7 @@ public value class ConfirmationCode private constructor(public val string: Strin override fun create(input: String): Result { return when { - input.isBlank() -> Result.failure(CreationFailure.ofBlankValue()) + input.isBlank() -> Result.failure(CreationFailure.ofBlank()) input.length != SIZE -> Result.failure(CreationFailure.ofSizeExact(SIZE)) else -> Result.success(ConfirmationCode(input)) }