if a media object has more than one attachment,
we need to ensure the correct one is updated
this only works if using the new media_attachment
routes
closes MAT-1314
flag=media_links_use_attachment_id
test plan:
- as long as all tests still pass, should be ok
qa risk: low
Change-Id: Ibead985ebe9a699c6facf74c9c3b88059efdc016
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/316419
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Mysti Lilla <mysti@instructure.com>
QA-Review: Sarah Gerard <sarah.gerard@instructure.com>
Product-Review: Sarah Gerard <sarah.gerard@instructure.com>