Helper postgres function `safe_auth_json`
I was trying to make a helper function to convert a
Using just
It would just make things "cleaner" and I'd especially like to understand why I don't get it working
Following a few versions I tried, probably not all versions, though all error trying them in the Dashboards SQL Editor
auth.users row to json stripping away sensitive data.Using just
row_to_json within the trigger function works perfectly fine.It would just make things "cleaner" and I'd especially like to understand why I don't get it working
Following a few versions I tried, probably not all versions, though all error trying them in the Dashboards SQL Editor