mirror of
https://github.com/wassname/talk.git
synced 2026-07-22 13:00:29 +08:00
Server retrieve by single comment
This commit is contained in:
@@ -6,5 +6,10 @@ export default {
|
||||
{ id }: { id: string; url: string },
|
||||
ctx: TenantContext
|
||||
) => ctx.loaders.Assets.asset.load(id),
|
||||
comment: async (
|
||||
source: void,
|
||||
{ id }: { id: string; url: string },
|
||||
ctx: TenantContext
|
||||
) => ctx.loaders.Comments.comment.load(id),
|
||||
settings: async (parent: any, args: any, ctx: TenantContext) => ctx.tenant,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user