Skip to content

Commit

Permalink
[DIA-2585] Ktlint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevazhnovu committed Feb 8, 2024
1 parent f02d417 commit 8895aba
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,15 +305,15 @@ internal class SpConsentLibImpl(
legIntCategories = legIntCategories.toList(),
success = {
check { JsonConverter.converter.encodeToString(it) }
.executeOnRight { r -> successCallback.transferCustomConsentToUnity(r) }
.executeOnLeft {
spClient.onError(RuntimeException("An error occurred during the custom consent request"))
pLogger.clientEvent(
event = "onError",
msg = "An error occurred during the custom consent request",
content = "An error occurred during the custom consent request"
)
}
.executeOnRight { r -> successCallback.transferCustomConsentToUnity(r) }
.executeOnLeft {
spClient.onError(RuntimeException("An error occurred during the custom consent request"))
pLogger.clientEvent(
event = "onError",
msg = "An error occurred during the custom consent request",
content = "An error occurred during the custom consent request"
)
}
}
)
}
Expand All @@ -330,15 +330,15 @@ internal class SpConsentLibImpl(
legIntCategories = legIntCategories.toList(),
success = {
check { JsonConverter.converter.encodeToString(it) }
.executeOnRight { r -> successCallback.transferCustomConsentToUnity(r) }
.executeOnLeft {
spClient.onError(RuntimeException("An error occurred during delete custom consent request"))
pLogger.clientEvent(
event = "onError",
msg = "An error occurred during delete custom consent request",
content = "An error occurred during delete custom consent request"
)
}
.executeOnRight { r -> successCallback.transferCustomConsentToUnity(r) }
.executeOnLeft {
spClient.onError(RuntimeException("An error occurred during delete custom consent request"))
pLogger.clientEvent(
event = "onError",
msg = "An error occurred during delete custom consent request",
content = "An error occurred during delete custom consent request"
)
}
}
)
}
Expand Down

0 comments on commit 8895aba

Please sign in to comment.