mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 14:56:42 +00:00
Other: add straightforward linters
This commit is contained in:
@ -47,8 +47,5 @@ func (api *FakePMAPI) CreateAttachment(attachment *pmapi.Attachment, data io.Rea
|
||||
}
|
||||
|
||||
func (api *FakePMAPI) DeleteAttachment(attID string) error {
|
||||
if err := api.checkAndRecordCall(DELETE, "/mail/v4/attachments/"+attID, nil); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return api.checkAndRecordCall(DELETE, "/mail/v4/attachments/"+attID, nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user