aboutsummaryrefslogtreecommitdiff
path: root/packages/server/src/api/v1.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/server/src/api/v1.ts')
-rw-r--r--packages/server/src/api/v1.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/api/v1.ts b/packages/server/src/api/v1.ts
index 617e5f1..7aa1f16 100644
--- a/packages/server/src/api/v1.ts
+++ b/packages/server/src/api/v1.ts
@@ -40,7 +40,7 @@ export default function(fastify: FastifyInstance, opts, done) {
const desc = await git.getRepoFile(params.repo, "description");
- reply.send({ data: { name: params.repo, description: desc } });
+ reply.send({ data: { name: params.repo, description: desc, has_readme: await git.doesReadmeExist(params.repo) } });
}
});