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
|
// item Attachments to be skipped until the completion of Issue #2353
|
||||||
if attachmentType == models.ITEM_ATTACHMENTTYPE {
|
if attachmentType == models.ITEM_ATTACHMENTTYPE {
|
||||||
name := ""
|
name := ""
|
||||||
if attachment.GetName() != nil{
|
if attachment.GetName() != nil {
|
||||||
name := *attachment.GetName()
|
name = *attachment.GetName()
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.Ctx(ctx).Infow("item attachment uploads are not supported ",
|
logger.Ctx(ctx).Infow("item attachment uploads are not supported ",
|
||||||
"attachment_name", name, // TODO: Update to support PII protection
|
"attachment_name", name, // TODO: Update to support PII protection
|
||||||
"attachment_type", attachmentType,
|
"attachment_type", attachmentType,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user