Skip to content

Commit

Permalink
missing updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sagishm committed Apr 2, 2022
1 parent eebf77f commit 2cd1ff5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GigyaSwift/Global/Plugins/GigyaWebBridge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ public class GigyaWebBridge<T: GigyaAccountProtocol>: NSObject, WKScriptMessageH
businessApiService.logout { (result) in
switch result {
case .success:
self.invokeCallback(callbackId: callbackId, and: "")
let dic: [String: Any] = ["errorCode": 0, "statusCode": 0]
self.invokeCallback(callbackId: callbackId, and: dic.asJson)
self.completion(.onLogout)
case .failure(let error):
self.invokeError(callbackId: callbackId, error: error)
Expand Down

0 comments on commit 2cd1ff5

Please sign in to comment.