diff options
| author | Jan Friedli | 2020-07-13 16:01:32 +0200 |
|---|---|---|
| committer | Jan Friedli | 2020-07-13 16:01:32 +0200 |
| commit | 37469e3e080952fdb21cefdce2346fd727990850 (patch) | |
| tree | 566c2c22804793935a8273f59fb3de1beb2d36d0 /matweb | |
| parent | d6001d0f2575bc4e171a24132124a20f7dbaeae7 (diff) | |
get schema values dynamically
Diffstat (limited to 'matweb')
| -rw-r--r-- | matweb/rest_api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/matweb/rest_api.py b/matweb/rest_api.py index 4910b44..429b82e 100644 --- a/matweb/rest_api.py +++ b/matweb/rest_api.py | |||
| @@ -15,8 +15,8 @@ from flasgger import swag_from | |||
| 15 | from matweb import file_removal_scheduler, utils | 15 | from matweb import file_removal_scheduler, utils |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | api_bp = Blueprint('api_bp', __name__, url_prefix='/api/') | 18 | api_bp = Blueprint('api_bp', __name__) |
| 19 | api = Api(api_bp) | 19 | api = Api(api_bp, prefix='/api') |
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | class APIUpload(Resource): | 22 | class APIUpload(Resource): |
