Signed-off-by: mertmit <mertmit99@gmail.com>
@ -4073,8 +4073,9 @@ class BaseModelSqlv2 {
);
} else if (attachment?.url) {
if (attachment.url.includes('.amazonaws.com/')) {
const relativePath =
attachment.url.split('.amazonaws.com/')[1];
const relativePath = decodeURI(
attachment.url.split('.amazonaws.com/')[1],
promises.push(
PresignedUrl.getSignedUrl({
path: relativePath,
@ -67,7 +67,9 @@ export class AttachmentsService {
} else {
const relativePath = attachment.url.split('.amazonaws.com/')[1];