summaryrefslogtreecommitdiffstats
path: root/modules/convert/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/convert/issue.go')
-rw-r--r--modules/convert/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/convert/issue.go b/modules/convert/issue.go
index 35eff05229..5364367a80 100644
--- a/modules/convert/issue.go
+++ b/modules/convert/issue.go
@@ -123,7 +123,7 @@ func ToTrackedTime(t *issues_model.TrackedTime) (apiT *api.TrackedTime) {
if t.User != nil {
apiT.UserName = t.User.Name
}
- return
+ return apiT
}
// ToStopWatches convert Stopwatch list to api.StopWatches