From c8f4d420d2360a1082073876f4f50dfca772c276 Mon Sep 17 00:00:00 2001 From: Javier Elices <15686364+JavierElices@users.noreply.github.com> Date: Mon, 2 Dec 2024 23:06:54 +0100 Subject: [PATCH] docs: Fix two bugs and add "id" for coherency with other examples (#3208) --- docs/docs/guides/developer-guide/plugins/index.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/guides/developer-guide/plugins/index.mdx b/docs/docs/guides/developer-guide/plugins/index.mdx index 7a3db57dba..f7a573bd23 100644 --- a/docs/docs/guides/developer-guide/plugins/index.mdx +++ b/docs/docs/guides/developer-guide/plugins/index.mdx @@ -528,7 +528,7 @@ export class WishlistShopResolver { @Query() @Allow(Permission.Owner) - activeCustomerWishlist(@Ctx() ctx: RequestContext) { + async activeCustomerWishlist(@Ctx() ctx: RequestContext) { return this.wishlistService.getWishlistItems(ctx); } @@ -760,6 +760,7 @@ mutation RemoveFromWishlist { removeFromWishlist(itemId: "4") { id productVariant { + id name } }