Skip to content

Commit

Permalink
chore: remove redundant comment about filename condition
Browse files Browse the repository at this point in the history
  • Loading branch information
FaelN1 committed Jan 3, 2025
1 parent 08ceb80 commit e0c960c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ export class BusinessStartupService extends ChannelStartupService {
[message['mediaType']]: {
[message['type']]: message['id'],
preview_url: linkPreview,
...(message['fileName'] && !isImage && { filename: message['fileName'] }), // Adiciona filename apenas se não for imagem
...(message['fileName'] && !isImage && { filename: message['fileName'] }),
caption: message['caption'],
},
};
Expand Down

0 comments on commit e0c960c

Please sign in to comment.