diff options
author | Teddy Wing | 2017-06-03 12:08:07 +0200 |
---|---|---|
committer | Teddy Wing | 2017-06-03 12:20:41 +0200 |
commit | 810b140b4a29b1159e76b51b90b9be7d22df1c3e (patch) | |
tree | 0fe9c570f3b629d4690e1ee17320a0b7a9d0f1f3 /timetask/http_test.go | |
parent | bd1a9e85c2ee87017208772b88190b75319874d2 (diff) | |
download | timetasker-810b140b4a29b1159e76b51b90b9be7d22df1c3e.tar.bz2 |
buildSubmissionParams(): Support new `TimeEntry`; Submit single entry
Change the function to use our new `TimeEntry` type, which doesn't
demand asking for IDs as it already has them built in.
Additionally, remove the loop here as we only want to submit a single
time entry at a time.
Add a new `Profile` type that holds onto the user's person_id. Forgot
that existed. We'll have users fill that into their config.toml file.
Diffstat (limited to 'timetask/http_test.go')
0 files changed, 0 insertions, 0 deletions