diff options
Diffstat (limited to 'packages/server/src/routes/api')
-rw-r--r-- | packages/server/src/routes/api/v1/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/routes/api/v1/index.ts b/packages/server/src/routes/api/v1/index.ts index 9cc20c2..9c35d53 100644 --- a/packages/server/src/routes/api/v1/index.ts +++ b/packages/server/src/routes/api/v1/index.ts @@ -33,7 +33,7 @@ function reposEndpoints(fastify: FastifyInstance, opts: FastifyPluginOptions, do return <APIRepositorySummary>{ name: repository.name.short, description: await repository.description(), - last_updated: (await repository.masterCommit()).date + last_updated: (await repository.head()).date }; })) }); |