You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whoever is updating this plugin should know that I built this library so that you can override the apiBase outside of Telnyx.php just to prevent this issue from accidentally happening. There were sample docs that had this code some time ago and were probably lost.
Example script which overrides apiBase in index.php:
Just upgraded to 3.0.0 and the API calls broke because it's trying to connect to localhost:
The solution is to edit lib/Telnyx.php and uncomment $apiBase to set the correct endpoint:
The text was updated successfully, but these errors were encountered: