Skip to content

Commit 59c3f30

Browse files
davidtruongtapashmajumder
authored andcommitted
update the function name for createUserForUserId
1 parent 494fc17 commit 59c3f30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift-sdk/Internal/IterableAPIInternal.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ final class IterableAPIInternal : NSObject, PushTrackerProtocol {
5353
_userId = newValue
5454
_email = nil
5555
storeEmailAndUserId()
56-
createUserId(onSuccess: IterableAPIInternal.defaultOnSucess(identifier: "createUserId"), onFailure: IterableAPIInternal.defaultOnFailure(identifier: "createUserId"))
56+
createUserForUserId(onSuccess: IterableAPIInternal.defaultOnSucess(identifier: "createUserForUserId"), onFailure: IterableAPIInternal.defaultOnFailure(identifier: "createUserForUserId"))
5757

5858
enableDeviceForCurrentUser()
5959
}
@@ -222,7 +222,7 @@ final class IterableAPIInternal : NSObject, PushTrackerProtocol {
222222
}
223223
}
224224

225-
func createUserId(onSuccess: OnSuccessHandler?, onFailure: OnFailureHandler?) {
225+
func createUserForUserId(onSuccess: OnSuccessHandler?, onFailure: OnFailureHandler?) {
226226
guard userId != nil else {
227227
ITBError("UserId is nil")
228228
onFailure?("UserId is nil", nil)

0 commit comments

Comments
 (0)