Upload and set the image for the communities

How do I upload and set the image for the communities? I can see the property avatarFileId: 'fileId123' in the docs, not sure where that fileId is coming from. Do you have an upload mechanism somewhere and I missed it?

Hello, thanks for your enquiry, the team will get back to you asap.

Hi @addy, - fileId is the id from model you received from liveObject used to upload file via FileRepository - please find docs on uploading file here: https://docs.amity.co/social/web/posts#file-upload