Skip to content

Commit

Permalink
Update fetchEntry.server.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pogseal committed Sep 6, 2024
1 parent 1112fae commit 0c707e2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,16 @@ export async function fetchEntry({
? user
? authGQLFetcher({
siteSlug: entry.siteSlug,
variables: { entryId: entry.id, ...gql?.variables },
variables: {
entryId: entry.id,
jsonEntryId: entry.id,
...gql?.variables,
},
document: gql?.query,
})
: gqlRequestWithCache(gqlPath, gql?.query, {
entryId: entry.id,
jsonEntryId: entry.id,
...gql?.variables,
})
: rest?.depth
Expand Down

0 comments on commit 0c707e2

Please sign in to comment.