Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ getEvent
Function
getEvent
app/core/api/events.js:4–4 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
2
import
_ from
'lodash'
3
4
export
const
getEvent = (id) => fetchJson(`/db/event/${id}`)
5
export
const
getAllEvents = () => fetchJson(
'/db/events'
)
6
export
const
getEventsByUser = uid => fetchJson(`/db/events?userId=${uid}`)
7
Callers
1
fetchEvent
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected