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

Function postTournament

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

Source from the content-addressed store, hash-verified

1const fetchJson = require('./fetch-json')
2
3const postTournament = (options) => {
4 return fetchJson('/db/tournament', {
5 method: 'POST',
6 json: options
7 })
8}
9
10const putTournament = (options) => {
11 return fetchJson(`/db/tournament/${options._id}`, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected