Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

only id returned for image

default discord avatar
olarssonylast year
1

what is the reason im getting only the id returned for an image? its uploaded to a media collection, all other values, included nested ones are returned just fine. but im only getting the id for the image as a string, no object with url or sizes or anything.



just to clarify i have:


access: {


read: () => true,


}


on my media collection



and since the other fields within the object are being nested it shouldnt be a depth problem either



to make it even stranger there is another media file right next to it in the object that gets populated with all the data just as it should



solved, payload needed to be rebuilt due to a name change.

  • discord user avatar
    seanzubrickas
    last year

    Hey

    @1039510116476649502

    glad you were able to sort this one out! Let us know if you need anything else.

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.