Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Aug 12, 2024
1 parent ca73602 commit e196314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func BuildExecCommand(message api.Payload, c *ServerConfig) (*exec.Cmd, error) {
// replace it with the source mimetype extension
} else if a == "%destination-mime-ext" || a == "%destination-mime-ext:-" {
dash := false
if a == "%destination-mime-ext" {
if a == "%destination-mime-ext:-" {
dash = true
}
a, err := GetMimeTypeExtension(message.Attachment.Content.DestinationMimeType)
Expand Down

0 comments on commit e196314

Please sign in to comment.