Update training urls to use file type: Modal
After the backend issue has been resolved > #346455 (closed), let's update the frontend to ensure we are passing the file type to the GraphQL query. The backend issue will ensure a file type is passed to our training providers so we get a more accurate training url response.
Please see this comment for more detail about the potential implementation plan > #346455 (comment 879260956).
We can pass the
location
object that contains thefile
which we can pass as the 3rd parameter (project id, identifiers, file). From there the backend can extract the file type from the file value and send that with the request. For instancesrc/js/index.js
->js
.
MR Modal | Vulnerability Details | Pipeline Modal |
---|---|---|
Issue Breakdown
Changes | Issue |
---|---|
Vulnerability Details | #356285 (closed) |
MR and Pipeline Modal | This Issue |
Edited by Samantha Ming