diff options
author | Teddy Wing | 2017-06-03 15:08:23 +0200 |
---|---|---|
committer | Teddy Wing | 2017-06-03 15:08:23 +0200 |
commit | 24a3a2d9dbe6b2cd48d126f3f36a6d79497b4cc4 (patch) | |
tree | ce96e85b9307df20903d3257a7a23df9cc1bbde3 /timetask/http.go | |
parent | 460ffe9ca5a7ad9ae5fd5a7d501b8cbd64e7646e (diff) | |
download | timetasker-24a3a2d9dbe6b2cd48d126f3f36a6d79497b4cc4.tar.bz2 |
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'.)
Diffstat (limited to 'timetask/http.go')
-rw-r--r-- | timetask/http.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |