GOFMT: changes to /exchange/attachment.go
This commit is contained in:
parent
eb129a4fe2
commit
88e494987a
@ -56,9 +56,10 @@ func uploadAttachment(
|
||||
// item Attachments to be skipped until the completion of Issue #2353
|
||||
if attachmentType == models.ITEM_ATTACHMENTTYPE {
|
||||
name := ""
|
||||
if attachment.GetName() != nil{
|
||||
name := *attachment.GetName()
|
||||
if attachment.GetName() != nil {
|
||||
name = *attachment.GetName()
|
||||
}
|
||||
|
||||
logger.Ctx(ctx).Infow("item attachment uploads are not supported ",
|
||||
"attachment_name", name, // TODO: Update to support PII protection
|
||||
"attachment_type", attachmentType,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user