forked from p34709852/monkey
Island: Add comment about seemingly duplicate endpoints
This commit is contained in:
parent
3a5d28cc59
commit
13ca4b6f8c
|
@ -26,8 +26,10 @@ class FileUpload(flask_restful.Resource):
|
||||||
def __init__(self, file_storage_service: IFileStorageService):
|
def __init__(self, file_storage_service: IFileStorageService):
|
||||||
self._file_storage_service = file_storage_service
|
self._file_storage_service = file_storage_service
|
||||||
|
|
||||||
# TODO: Add comment explaining why this is basically a duplicate of the endpoint in the
|
# This endpoint is basically a duplicate of PBAFileDownload.get(). They serve slightly different
|
||||||
# PBAFileDownload resource.
|
# purposes. This endpoint is authenticated, whereas the one in PBAFileDownload can not be (at
|
||||||
|
# the present time). In the future, consider whether or not they should be merged, or if they
|
||||||
|
# serve truly distinct purposes
|
||||||
@jwt_required
|
@jwt_required
|
||||||
def get(self, target_os):
|
def get(self, target_os):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue