Grab the file data from the request, not as a parameter

This commit is contained in:
mike cullerton 2021-09-03 10:32:32 -04:00
parent 1545226e06
commit 8677d0368b
1 changed files with 3 additions and 3 deletions

View File

@ -173,7 +173,7 @@ def delete_file(file_id):
FileService.delete_file(file_id)
def dmn_from_ss(ss_data):
result = FileService.dmn_from_spreadsheet(ss_data)
# TODO: Do we need to return json?
def dmn_from_ss():
file = connexion.request.files['file']
result = FileService.dmn_from_spreadsheet(file)
return result