Skip to content

Commit

Permalink
changing mime type to csv
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Mar 8, 2024
1 parent eefaa07 commit 7b76337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def get_station_data(station_name: Union[str, None] = Query(default=None), time_
status_code = 500

# return to the caller
return PlainTextResponse(content=ret_val, status_code=status_code, media_type="text/plain")
return PlainTextResponse(content=ret_val, status_code=status_code, media_type="text/csv")


@APP.get('/get_catalog_member_records', status_code=200, response_model=None)
Expand Down

0 comments on commit 7b76337

Please sign in to comment.