This commit is contained in:
Matteo Pagliazzi
2015-12-28 12:15:28 +01:00
parent ba0fb884dd
commit 488685ceff

View File

@@ -19,7 +19,7 @@ let api = {};
*
* @apiSuccess {object} challenge The newly created challenge
*/
api.getChallenges = {
api.createChallenge = {
method: 'POST',
url: '/challenges',
middlewares: [authWithHeaders(), cron],