Skip to content

Commit

Permalink
pass errorMessage to userInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpbrett committed Oct 19, 2020
1 parent 73e84da commit 30d7f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BeeSwift/CurrentUserManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class CurrentUserManager : NSObject {
}

func handleFailedSignup(_ responseError: Error, errorMessage : String?) {
NotificationCenter.default.post(name: Notification.Name(rawValue: CurrentUserManager.failedSignUpNotificationName), object: self, userInfo: ["error" : responseError])
NotificationCenter.default.post(name: Notification.Name(rawValue: CurrentUserManager.failedSignUpNotificationName), object: self, userInfo: ["error" : errorMessage])
self.signOut()
}

Expand Down

0 comments on commit 30d7f5b

Please sign in to comment.