Skip to content

Commit 543de85

Browse files
committed
Fix issue with showInAppMessageIfAvailable() that throws "Unhandled promise rejection", ReferenceError : Can't find variable: token
1 parent e88dad7 commit 543de85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ export default {
483483

484484
showInAppMessageIfAvailable() {
485485
if (!defaultInstance) throw new Error(NO_INSTANCE_ERROR)
486-
defaultInstance.showInAppMessageIfAvailable(token)
486+
defaultInstance.showInAppMessageIfAvailable()
487487
},
488488

489489
optInTracking() {

0 commit comments

Comments
 (0)