fix: add description to VideoModel type and GraphQL schema

Requesting description on the article author caused a GraphQL error
which the page.server.ts caught as a 404.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 19:01:52 +01:00
parent d2cbb1004f
commit f90b045ca5
2 changed files with 2 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ export const VideoModelType = builder.objectRef<VideoModel>("VideoModel").implem
artist_name: t.exposeString("artist_name", { nullable: true }),
slug: t.exposeString("slug", { nullable: true }),
avatar: t.exposeString("avatar", { nullable: true }),
description: t.exposeString("description", { nullable: true }),
}),
});