docs: fix metadata destructure in query.graph (#11294)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-02-04 12:15:14 +02:00
1 parent 462c3e8057
commit ddaeafacdd
8 files changed
+12 -12

No files matched your search

@@ -361,7 +361,7 @@ export const GET = async (
const {
data: digitalProducts,
metadata: { count, take, skip },
metadata: { count, take, skip } = {},
} = await query.graph({
entity: "digital_product",
fields: [
@@ -1063,7 +1063,7 @@ export const GET = async (
const {
data: subscriptions,
metadata: { count, take, skip },
metadata: { count, take, skip } = {},
} = await query.graph({
entity: "subscription",
fields: [