Skip to content

Commit 5a946b2

Browse files
committed
refactor: remove redundant error handling in RNIterableAPI to streamline message retrieval
1 parent dfb4934 commit 5a946b2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ios/RNIterableAPI/ReactIterableAPI.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ import React
373373
ITBInfo()
374374
guard let message = IterableAPI.inAppManager.getMessage(withId: messageId) else {
375375
ITBError("Could not find message with id: \(messageId)")
376-
rejecter("", "Could not find message with id: \(messageId)", NSError(domain: "", code: 0, userInfo: nil))
377376
return
378377
}
379378
IterableAPI.inAppManager.show(message: message, consume: consume) { (url) in

0 commit comments

Comments
 (0)