From 98fcd9d1399b65bb5694abe103928c465dc0bee0 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Tue, 2 Jul 2019 19:43:18 -0500 Subject: [PATCH] fixed duplicate upload namespace --- onionr/httpapi/miscpublicapi/endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/httpapi/miscpublicapi/endpoints.py b/onionr/httpapi/miscpublicapi/endpoints.py index 247ec01c..393a00da 100644 --- a/onionr/httpapi/miscpublicapi/endpoints.py +++ b/onionr/httpapi/miscpublicapi/endpoints.py @@ -70,7 +70,7 @@ class PublicEndpoints: return resp @public_endpoints_bp.route('/upload', methods=['post']) - def upload(): + def upload_endpoint(): '''Accept file uploads. In the future this will be done more often than on creation to speed up block sync '''