summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/api/v1/convert/convert.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/api/v1/convert/convert.go b/routers/api/v1/convert/convert.go
index 0bd22f5762..52f28e7dd5 100644
--- a/routers/api/v1/convert/convert.go
+++ b/routers/api/v1/convert/convert.go
@@ -55,6 +55,8 @@ func ToRepository(owner *models.User, repo *models.Repository, permission api.Pe
Stars: repo.NumStars,
Forks: repo.NumForks,
Watchers: repo.NumWatches,
+ Created: repo.Created,
+ Updated: repo.Updated,
Permissions: permission,
}
}