Hi all,
I am trying to access a groups cover image using the wix-groups-backend library. I have used the following code:
import wixGroupsBackend from ‘wix-groups-backend’ ;
export async function func ( ){
let promiseResolve = await wixGroupsBackend . groups . listGroups ();
let someGroup = promiseResolve . groups [ 0 ];
console . log ( someGroup . coverImage.imageUrl );
}
This code should output some URL referencing the URL of the image, but the coverImage object is null. (I have checked, and the group’s coverImage is not null in the dashboard).
Any solutions? I am almost certain this is a bug.