mirror of
https://github.com/kovetskiy/mark.git
synced 2026-04-20 05:12:35 +00:00
add pseudo protocol attachment://
This commit is contained in:
@@ -239,9 +239,9 @@ func (api *API) UpdateAttachment(
|
||||
return info, err
|
||||
}
|
||||
|
||||
//if request.Raw.StatusCode != 200 {
|
||||
return info, newErrorStatusNotOK(request)
|
||||
//}
|
||||
if request.Raw.StatusCode != 200 {
|
||||
return info, newErrorStatusNotOK(request)
|
||||
}
|
||||
|
||||
if len(result.Results) == 0 {
|
||||
return info, errors.New(
|
||||
|
||||
Reference in New Issue
Block a user