Tech
01/04/2023, 11:01 AMProfile { a: String, b: String }
When I access the route /test
if I’m authenticated I want it to return a & b but if I’m not authenticated I want it to only return a
I’m just not sure how to remove properties before they’re sent without having to make a “proxy” model to remove them.Bhushan Maniyar
01/04/2023, 11:23 AMTech
01/04/2023, 12:31 PM