(SOLVED) communityForId broken on @amityco/js-sdk

Hey Team,

UPDATE: had to instantiate the library via @amityco/js-sdk

Could you kindly help with the issue as mentioned.

CommunityRepository.communityForId(communityId) exposed by eko-sdk works perfectly but

CommunityRepository.communityForId(communityId) by @amityco/js-sdk points that the data is not-exist as in the attached image below

Hi @sijanshs sorry for the late reply.

Noted and thank you for the information.

Please allow us to ask a question, does it works after instantiated the library via “@amityco/js-sdk”?

Thank you very much.

1 Like

Yes, it worked smoothly!

@sijanshs That’s great. Thank you for the information.