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
Our API returns some images that have been uploaded, but for the public API, we'd like to hide the path attribute from the content and only include the url. Obviously we can filter this out manually, but was hoping there was a way to not return this. We've tried setting a $hidden on the model to no avail:
Our API returns some images that have been uploaded, but for the public API, we'd like to hide the
path
attribute from the content and only include the url. Obviously we can filter this out manually, but was hoping there was a way to not return this. We've tried setting a$hidden
on the model to no avail:Is there a simpler way to hide this attribute?
The text was updated successfully, but these errors were encountered: