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

Function getEventsByUser

app/core/api/events.js:6–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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({}, {
9 method: 'POST',

Callers 1

fetchUserEventsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected