I’m working on lemmy-ui-svelte frontend/client application. This code page in particular: https://github.com/ando818/lemmy-ui-svelte/blob/main/src/routes/post/[id]/%2Bpage.server.js

Testing the same API against SJW server with two different postings that both have comments:

Posting 372144 returns nothing

curl "https://sh.itjust.works/api/v3/comment/list?post_id=372144&limit=300&sort=New"

Posting 123406 returns comments

curl "https://sh.itjust.works/api/v3/comment/list?post_id=123406&limit=300&sort=New"

Am I making some kind of mistake here? Is it because the problematic posting community is from a federated instance and not local to SJW? Thank you.

EDIT: ok, adding &type_=All to the parameters gave the comments on both posts.