Skip to content

Commit

Permalink
fix(web): change API response_model to avoid ValidationError (#1526)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle authored May 22, 2023
1 parent 3900469 commit e42bac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antarest/study/web/watcher_blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def create_watcher_routes(
"/watcher/_scan",
summary="Launch scan in selected directory",
tags=[APITag.study_raw_data],
response_model=List[str],
response_model=str,
)
def scan_dir(
path: str,
Expand Down

0 comments on commit e42bac4

Please sign in to comment.