Skip to content

Commit 906880e

Browse files
authored
Merge pull request #18 from galunecandrey/main
Fix forgotPassword crash on Android
2 parents 6563d19 + b5cd87c commit 906880e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/kotlin/com/sap/gigya_flutter_plugin/GigyaSDKWrapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ class GigyaSDKWrapper<T : GigyaAccount>(application: Application, accountObj: Cl
237237
}
238238
sdk.forgotPassword(loginId, object : GigyaCallback<GigyaApiResponse>() {
239239
override fun onSuccess(p0: GigyaApiResponse?) {
240-
channelResult.success(p0)
240+
channelResult.success(p0?.asMap())
241241
}
242242

243243
override fun onError(p0: GigyaError?) {

0 commit comments

Comments
 (0)