From ebfd4339ab594c3155c2a2334e2c8797d97c2b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Wed, 15 Jul 2015 00:57:31 +0200 Subject: [PATCH] change prize submission to new backend route --- js/components/ascribe_forms/form_submit_to_prize.js | 4 +++- js/components/whitelabel/prize/constants/api_urls.js | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/js/components/ascribe_forms/form_submit_to_prize.js b/js/components/ascribe_forms/form_submit_to_prize.js index e7d9716d..1151bc9e 100644 --- a/js/components/ascribe_forms/form_submit_to_prize.js +++ b/js/components/ascribe_forms/form_submit_to_prize.js @@ -14,6 +14,8 @@ import ApiUrls from '../../constants/api_urls'; import { getLangText } from '../../utils/lang_utils.js'; +import requests from '../../utils/requests'; + let PieceSubmitToPrizeForm = React.createClass({ propTypes: { piece: React.PropTypes.object, @@ -33,7 +35,7 @@ let PieceSubmitToPrizeForm = React.createClass({ return (