Skip to content

Commit

Permalink
fix detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
mchenani committed Jan 30, 2024
1 parent c528d38 commit df4de86
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ import com.wire.kalium.cryptography.NewAcmeAuthz
import com.wire.kalium.network.api.base.unbound.acme.ACMEAuthorizationResponse
import com.wire.kalium.network.api.base.unbound.acme.DtoAuthorizationChallengeType

interface AcmeMapper{
interface AcmeMapper {
fun fromDto(dto: ACMEAuthorizationResponse, newAcmeAuthz: NewAcmeAuthz): AcmeAuthorization
}

class AcmeMapperImpl: AcmeMapper {
class AcmeMapperImpl : AcmeMapper {
override fun fromDto(dto: ACMEAuthorizationResponse, newAcmeAuthz: NewAcmeAuthz) = AcmeAuthorization(
nonce = Nonce(dto.nonce),
location = dto.location,
Expand Down

0 comments on commit df4de86

Please sign in to comment.