From a34d64664ffba361a40a2730eb0f22dea58ae8bd Mon Sep 17 00:00:00 2001 From: DanSnow Date: Mon, 7 Aug 2023 15:40:54 +0800 Subject: [PATCH] fix: add slug to author query --- packages/karbon/package.json | 2 +- packages/karbon/src/runtime/api/article.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/karbon/package.json b/packages/karbon/package.json index 13d50b8a..dade208e 100644 --- a/packages/karbon/package.json +++ b/packages/karbon/package.json @@ -219,4 +219,4 @@ "access": "public" }, "gitHead": "8df1f4d5837a7e2ddbff6cc79f5fec256c34a394" -} \ No newline at end of file +} diff --git a/packages/karbon/src/runtime/api/article.ts b/packages/karbon/src/runtime/api/article.ts index d898c089..0db60e47 100644 --- a/packages/karbon/src/runtime/api/article.ts +++ b/packages/karbon/src/runtime/api/article.ts @@ -118,6 +118,7 @@ const GetArticle = gql` authors { id bio + slug socials avatar email