MCPcopy Create free account
hub / github.com/codecombat/codecombat / getAllEvents

Function getAllEvents

app/core/api/events.js:5–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4export const getEvent = (id) => fetchJson(`/db/event/${id}`)
5export const getAllEvents = () => fetchJson('/db/events')
6export const getEventsByUser = uid => fetchJson(`/db/events?userId=${uid}`)
7
8export const postEvent = (options = {}) => fetchJson('/db/event', _.assign({}, {

Callers 1

fetchAllEventsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected