From 24a3a2d9dbe6b2cd48d126f3f36a6d79497b4cc4 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 3 Jun 2017 15:08:23 +0200 Subject: buildSubmissionParams(): Add `f_entryIndexes` param The param needs to be present in the request in order for it to be considered. Add it back in (we had it before 810b140b4a29b1159e76b51b90b9be7d22df1c3e) with only the `0` index being sent in the request. This is because we're only submitting a single time entry, the 0th one. (Other parameters end with a '0'.) --- timetask/http.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'timetask') diff --git a/timetask/http.go b/timetask/http.go index cb91257..736fcfb 100644 --- a/timetask/http.go +++ b/timetask/http.go @@ -123,5 +123,7 @@ func buildSubmissionParams(time_entry TimeEntry) url.Values { time_entry.Description, ) + v.Set("f_entryIndexes", "0") + return v } -- cgit v1.2.3