If an API method returns 'null' it is interpreted as a success by API renderers. #6368
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
wontfix
If you can reproduce this issue, please reopen the issue or create a new one describing it.
API methods that return 'null' explicitly are rendered as {result: 'ok', message: 'success'} by API renderers, which I believe is incorrect.
The text was updated successfully, but these errors were encountered: