node-harvest icon indicating copy to clipboard operation
node-harvest copied to clipboard

TimeEntries.create, update and stop should return TimeEntry

Open Jameskmonger opened this issue 7 years ago • 1 comments

timeEntries.create, timeEntries.update and timeEntries.stop return any at the moment, but they should instead return a TimeEntry entity as this is what is returned by the API

Jameskmonger avatar Sep 05 '18 10:09 Jameskmonger

I went ahead and added response types to the timeEntries methods and caught an incorrect property on the list return in the process.

Have added an item to go through and make sure all of the methods have the correct return types.

simplyspoke avatar Sep 05 '18 13:09 simplyspoke