|
|
@ -4073,8 +4073,9 @@ class BaseModelSqlv2 { |
|
|
|
); |
|
|
|
); |
|
|
|
} else if (attachment?.url) { |
|
|
|
} else if (attachment?.url) { |
|
|
|
if (attachment.url.includes('.amazonaws.com/')) { |
|
|
|
if (attachment.url.includes('.amazonaws.com/')) { |
|
|
|
const relativePath = |
|
|
|
const relativePath = decodeURI( |
|
|
|
attachment.url.split('.amazonaws.com/')[1]; |
|
|
|
attachment.url.split('.amazonaws.com/')[1], |
|
|
|
|
|
|
|
); |
|
|
|
promises.push( |
|
|
|
promises.push( |
|
|
|
PresignedUrl.getSignedUrl({ |
|
|
|
PresignedUrl.getSignedUrl({ |
|
|
|
path: relativePath, |
|
|
|
path: relativePath, |
|
|
|