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

Function putTournament

app/core/api/tournaments.js:10–15  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

8}
9
10const putTournament = (options) => {
11 return fetchJson(`/db/tournament/${options._id}`, {
12 method: 'PUT',
13 json: options
14 })
15}
16
17const publishTournament = (options) => {
18 return fetchJson(`/db/tournament/${options.id}/publish`, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected