Open agileware-justin opened 4 months ago
Found this related discussion which is relevant to these changes, https://whmcs.community/topic/297347-usage-metrics-not-updating/
And also this feature request, https://requests.whmcs.com/idea/make-field-to-use-for-tenantusage-configurable
I realise now too that this PR's apiCall example is still incorrect and should be improved. I'll do that too.
Was struggling to get the Usage Metrics working correctly when called by WHMCS cron, it turns out that the example code was incorrect.
This PR updates the example code for Usage Metrics.