Closed mattsahn closed 1 year ago
This PR is being deployed to Railway 🚅
admin-portal: ◻️ REMOVED
This looks good, I could also look into using the make api to fetch this in a more official way so we dont run into this issue anymore.
This looks good, I could also look into using the make api to fetch this in a more official way so we dont run into this issue anymore.
Sure, please do. We're using the Make API to fetch the scenario blueprint, which is an official API, but it's a moving target to pick out where the text body happens to be if you make significant changes to the scenario. I can't think of a great solution for this other than to take a different approach, but see what you can come up with.
Description of this change
Fixed the location of the text message body in the response of /api/messaging/locations-to-drivers-text/ response. It had moved due to the Make scenario changing recently and this part of code needs to be updated. This is a temporary fix as we need something long term that is not fragile.
Screenshots (for UI changes - otherwise delete this section)
Before this PR:
After this PR: