Skip to content

Commit

Permalink
Fix support for stop entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Schoknecht committed Apr 29, 2024
1 parent b5fe6cc commit a43fc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/time_entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (cl *Client) PostStartTimeEntry(

func (cl *Client) PutStopTimeEntry(workspaceID int, timeEntryID int) error {
_, err := cl.do(
"PUT",
"PATCH",
fmt.Sprintf(
"/workspaces/%d/time_entries/%d/stop",
workspaceID,
Expand Down

0 comments on commit a43fc88

Please sign in to comment.