##// END OF EJS Templates
Adds custom field in TimeEntry API responses (#10131)....
Jean-Philippe Lang -
r8628:b13f85e456bb
parent child
Show More
@@ -11,6 +11,8 api.array :time_entries, api_meta(:total_count => @entry_count, :offset => @offs
11 api.spent_on time_entry.spent_on
11 api.spent_on time_entry.spent_on
12 api.created_on time_entry.created_on
12 api.created_on time_entry.created_on
13 api.updated_on time_entry.updated_on
13 api.updated_on time_entry.updated_on
14
15 render_api_custom_values time_entry.custom_field_values, api
14 end
16 end
15 end
17 end
16 end
18 end
@@ -9,4 +9,6 api.time_entry do
9 api.spent_on @time_entry.spent_on
9 api.spent_on @time_entry.spent_on
10 api.created_on @time_entry.created_on
10 api.created_on @time_entry.created_on
11 api.updated_on @time_entry.updated_on
11 api.updated_on @time_entry.updated_on
12
13 render_api_custom_values @time_entry.custom_field_values, api
12 end
14 end
General Comments 0
You need to be logged in to leave comments. Login now