From ea770943f2852baf845bcfbe2844fdd324807550 Mon Sep 17 00:00:00 2001 From: diminator Date: Mon, 29 Jun 2015 16:15:41 +0200 Subject: [PATCH] editions and api_urls --- js/components/edition.js | 2 +- js/constants/api_urls.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/components/edition.js b/js/components/edition.js index bc95d391..abd35e4e 100644 --- a/js/components/edition.js +++ b/js/components/edition.js @@ -518,7 +518,7 @@ let FileUploader = React.createClass({ bitcoinId: this.props.edition.bitcoin_id }} createBlobRoutine={{ - url: apiUrls.blob_digitalworks + url: apiUrls.blob_otherdatas }} validation={{ itemLimit: 100000, diff --git a/js/constants/api_urls.js b/js/constants/api_urls.js index aeb06d5a..df3aac3f 100644 --- a/js/constants/api_urls.js +++ b/js/constants/api_urls.js @@ -6,6 +6,7 @@ let apiUrls = { 'applications': AppConstants.apiEndpoint + 'applications/', 'application_token_refresh': AppConstants.apiEndpoint + 'applications/refresh_token/', 'blob_digitalworks': AppConstants.apiEndpoint + 'blob/digitalworks/', + 'blob_otherdatas': AppConstants.apiEndpoint + 'blob/otherdatas/', 'coa': AppConstants.apiEndpoint + 'coa/${id}/', 'coa_create': AppConstants.apiEndpoint + 'coa/', 'coa_verify': AppConstants.apiEndpoint + 'coa/verify_coa/',