Skip to content

Commit

Permalink
Tested with 4.1.0, readme change
Browse files Browse the repository at this point in the history
  • Loading branch information
Matija Pevec committed Jan 21, 2020
1 parent 53b7bd0 commit ce0a23d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -4,7 +4,8 @@
[![arcli](https://snapcraft.io//arcli/badge.svg)](https://snapcraft.io/arcli)

### `arcli` - Awesome Redmine CLI
`arcli` is CLI for [Redmine](https://www.redmine.org/) that simplifies some actions such as checking for issue details and tracking time.
`arcli` is CLI for [Redmine](https://www.redmine.org/) that simplifies some actions such as checking for issue details and tracking time.
It supports Redmine v3.3.1+ (tested with v3.3.1 and v4.1.0).

## Installation

Expand Down
2 changes: 1 addition & 1 deletion client/timeentry.go
Expand Up @@ -118,7 +118,7 @@ func (c *Client) DeleteTimeEntry(id int) error {
defer resp.Body.Close()

switch resp.StatusCode {
case http.StatusOK:
case http.StatusOK, http.StatusNoContent:
return nil
case http.StatusNotFound:
return fmt.Errorf("there is no time entry with id %v", id)
Expand Down

0 comments on commit ce0a23d

Please sign in to comment.