Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gpanshu committed Mar 15, 2023
1 parent 9779bc4 commit 0bfb706
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ internal object SRPCognitoActions : SRPActions {
params.plus(KEY_DEVICE_KEY to it)
} ?: params

SRPEvent(SRPEvent.EventType.RespondPasswordVerifier(challengeParams, event.metadata, initiateAuthResponse.session))
SRPEvent(
SRPEvent.EventType.RespondPasswordVerifier(
challengeParams, event.metadata, initiateAuthResponse.session
)
)
} ?: throw Exception("Auth challenge parameters are empty.")
else -> throw Exception("Not yet implemented.")
}
Expand Down Expand Up @@ -136,7 +140,11 @@ internal object SRPCognitoActions : SRPActions {
params.plus(KEY_DEVICE_KEY to it)
} ?: params

SRPEvent(SRPEvent.EventType.RespondPasswordVerifier(challengeParams, event.metadata, initiateAuthResponse.session))
SRPEvent(
SRPEvent.EventType.RespondPasswordVerifier(
challengeParams, event.metadata, initiateAuthResponse.session
)
)
} ?: throw ServiceException(
"Auth challenge parameters are empty.",
AmplifyException.TODO_RECOVERY_SUGGESTION
Expand Down

0 comments on commit 0bfb706

Please sign in to comment.