Skip to content

Commit

Permalink
PostMeterData endpoint broken in API v2.0 (#95)
Browse files Browse the repository at this point in the history
fix v2_0.postMeterData endpoint

Co-authored-by: nhoening <nhoening@users.noreply.github.com>
Co-authored-by: Nicolas Höning <nicolas@seita.nl>
  • Loading branch information
3 people committed Apr 9, 2021
1 parent 35478f9 commit 6c6c232
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions documentation/changelog.rst
Expand Up @@ -16,6 +16,14 @@ Infrastructure / Support
* Integration with `timely beliefs <https://github.com/SeitaBV/timely-beliefs>`_ lib: Sensor data as TimedBeliefs [see `PR #79 <http://www.github.com/SeitaBV/flexmeasures/pull/79>`_]


v0.3.1 | April 9, 2021
===========================

Bugfixes
--------
* PostMeterData endpoint was broken in API v2.0 [see `PR #95 <http://www.github.com/SeitaBV/flexmeasures/pull/95>`_]


v0.3.0 | April 2, 2021
===========================

Expand Down
2 changes: 1 addition & 1 deletion flexmeasures/api/v2_0/routes.py
Expand Up @@ -761,7 +761,7 @@ def post_meter_data():
:status 403: INVALID_SENDER
:status 405: INVALID_METHOD
"""
return v2_0_implementations.post_meter_data_response()
return v2_0_implementations.sensors.post_meter_data_response()


@flexmeasures_api_v2_0.route("/postPrognosis", methods=["POST"])
Expand Down

0 comments on commit 6c6c232

Please sign in to comment.