Given that the endpoint is not protected, this is a potential security risk.
The network type comes with many properties such as auth, adminAuth.
Instead of exposing the object directly to the user api, we should work with a dto which only comes with the properties effectively used by the User UI.
Given that the endpoint is not protected, this is a potential security risk.
The
networktype comes with many properties such asauth,adminAuth.Instead of exposing the object directly to the user api, we should work with a dto which only comes with the properties effectively used by the User UI.