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
{{ message }}
This repository has been archived by the owner on May 1, 2021. It is now read-only.
Hmm I don't think so. I could make the relevant method hookable though. Care to create a PR for that? :) On the other hand, what is your use case for echoing pretty printed json? The browsers usually do that on their own, don't they?
Is ther a way for using pretty print without changing your RestApi/Router.php file?
Example:
if (wire('roles')->get("name=superuser")) { $beauty = JSON_PRETTY_PRINT; } echo json_encode($return, $beauty);
The text was updated successfully, but these errors were encountered: