lemmy-bot icon indicating copy to clipboard operation
lemmy-bot copied to clipboard

getUserId and getCommunityId dont always find the user/community

Open Ategon opened this issue 1 year ago • 2 comments

Due to how getUserId and getCommunityId try to find the id (using the search), if the actual user or community doesnt show up in that then it cant be found by the query

For example if you try to look for the id of the community [email protected]. Doing a call to getCommunityId("git") then does an api call to https://programming.dev/api/v3/search?q=git&type_=Communities which does not have git as one of the options (instead its populated by other things that have git in the name)

Ategon avatar Jan 21 '24 18:01 Ategon