Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ getPublicClans
Function
getPublicClans
app/core/api/clans.js:3–3 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
import
fetchJson from
'./fetch-json'
2
3
export
const
getPublicClans = () => fetchJson(
'/db/clan/-/public'
)
4
5
export
const
getMyClans = () => fetchJson(`/db/user/${me.id}/clans`)
6
Callers
1
fetchPublicClans
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected