CaliStyle / ng-intercom

Angular 7+ Wrapper for Intercom.com
MIT License
54 stars 46 forks source link

Fix boot() without params #103

Closed kenanchristian closed 3 years ago

kenanchristian commented 4 years ago

Summary of changes: The boot() method has 1 optional parameter (intercomData) but when called without any param, it will throw an error because we are checking app_id inside intercomData directly without checking the intercomData itself

Intended/example use case: Call .boot() method without any param will cause an error

Checklist:

Closes issue: #