Skip to content

Commit

Permalink
Merge pull request #3 from i2gor87/update-user-bugfix
Browse files Browse the repository at this point in the history
fixed error on update user
  • Loading branch information
turlvo authored and Yeonho Park committed Feb 7, 2022
1 parent 3f76ebe commit 9dc6420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/SwiftChannelTalkFlutterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public class SwiftChannelTalkFlutterPlugin: NSObject, FlutterPlugin {
.build()

ChannelIO.updateUser(param: userData) { (error, user) in
if let _ = user, error != nil {
if let _ = user, user != nil {
result(true)
} else if let error = error {
NSLog(error.localizedDescription)
Expand Down

0 comments on commit 9dc6420

Please sign in to comment.