Skip to content

Conversation

@GustaafL
Copy link
Contributor

@GustaafL GustaafL commented Nov 1, 2023

Description

Redirect url returns full url instead of relative partial url.

Look & Feel

before: "/api/v3_0/sensors/{charging_station.id}/schedules/{fallback_job_id}"
new: "http://localhost/api/v3_0/sensors/{charging_station.id}/schedules/{fallback_job_id}"

How to test

Tests in test_sensor_schedules.py

Further Improvements

Potential improvements to be done in the same PR or follow up Issues/Discussions/PRs.

Related Items

Mention if this PR closes an Issue or Project.


  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures

…d of relative path

Signed-off-by: GustaafL <guus@seita.nl>
Copy link
Contributor

@victorgarcia98 victorgarcia98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@Flix6x Flix6x merged commit 420f241 into main Nov 2, 2023
@Flix6x Flix6x deleted the fix/change-fallback-scheduler-relative-path-to-full-url branch November 2, 2023 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants