Multi-Currency Module API Key API Endpoint V22

Currently using the Multi-Currency Module on v22.0.4 with currencylayer API, and when testing the default API endpoint URL, I was getting auth errors and unable to proceed with my CRON job running as normal.

error: { "success": false, "error": { "code": 101, "type": "invalid_access_key", "info": "You have not supplied a valid API Access Key. [Technical Support:support@apilayer.com]"}}

The fix was simple, change the URL endpoint to use CurrencyLayers new endpoint which can be set on the /admin/multicurrency.php page:

Old:

https://api.currencylayer.com/live?access_key=__MULTICURRENCY_APP_KEY__&source=__MULTICURRENCY_APP_SOURCE__

New:

https://api.apilayer.com/currency_data/live?base=__MULTICURRENCY_APP_SOURCE__

I believe this may be addressed in v23 but I figured I would document the fix for anyone else running into this error.

With the above change made, the manual sync and cron sync of currencies in the multi-currency module is re-enabled.