Closed LeandraH closed 2 weeks ago
Hmmm.... I am not sure if we should rather just use the slug/path instead of a full URL? That would provide us with more flexibility in the apps while probably less logic is required in the CMS (and it would follow the structure of all other properties/endpoints).
True, but then it's not really a bug ticket anymore :D
@steffenkleinle @LeandraH Is this change but still needed as enhancement?
That would be cool. I guess at that point it shouldn't be called location_url
anymore but location_path
?
@LeandraH @steffenkleinle
That would be cool. I guess at that point it shouldn't be called
location_url
anymore butlocation_path
?
And should the outpup be "/testumgebung/de/locations/testort"?
@LeandraH @steffenkleinle
That would be cool. I guess at that point it shouldn't be called
location_url
anymore butlocation_path
?And should the outpup be "/testumgebung/de/locations/testort"?
Yes, but probably including a trailing slash.
@LeandraH @steffenkleinle
Sorry, one more question: can location_url
be removed without problem or is it being used somewhere in the app?
@LeandraH @steffenkleinle Sorry, one more question: can
location_url
be removed without problem or is it being used somewhere in the app?
It is not yet used so it can easily be removed.
Awesome, thank you for the quick fix!
Describe the Bug
The
location_url
in events links to the CMS, not the app.Steps to Reproduce
location_url
is 'https://admin.integreat-app.de/testumgebung/de/locations/testort/'.Expected Behavior
The
location_url
should be 'https://integreat.app/testumgebung/de/locations/testort', aka the link to the location in the app.Actual Behavior
The
location_url
is 'https://admin.integreat-app.de/testumgebung/de/locations/testort/', aka the link to the location in the CMS.