reapit / foundations

Foundations platform mono repo
57 stars 21 forks source link

Invalid negotiator urls when application is accepted by a sub-office #7260

Closed NickStallman closed 2 years ago

NickStallman commented 2 years ago

Describe the bug API Call: https://platform.reapit.cloud/negotiators/laka reapit-customer:TEA-GTAC

This returns the negotiator profileUrl of:

  "profileImageUrl": "https://assets.reapit.net/tea-gtac/live/pictures/NEGS/LAKA.jpg",

This url is incorrect. The correct url should be https://assets.reapit.net/tea/live/pictures/NEGS/LAKA.jpg

I'm not sure what the terminology you use internally for this particular kind of app install, but our app wasn't installed by the main TEA account, we've only got access to the GTAC sub-account. When the URL is created however it's incorrectly using the whole sub-customer id.

Specification

github-actions[bot] commented 2 years ago

Thank you for taking the time to report a bug. We prioritise bugs depending on the severity and implications, so please ensure that you have provided as much information as possible. If you haven’t already, it really helps us to investigate the bug you have reported if you provide ‘Steps to Replicate’ and any associated screenshots. Please ensure any personal information from the production database is obscured when submitting screenshots. This issue will be reviewed in our weekly refinement sessions and assigned to a specific project board. We may also update the ticket to request additional information, if required. For more information on our processes, please click here