Skip to content

Commit

Permalink
fix: flattens relationships in the update operation for globals #2766 (
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsfletch committed Jun 5, 2023
1 parent 863be3d commit 3677cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/globals/operations/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function update<TSlug extends keyof GeneratedTypes['globals']>(
}

const originalDoc = await afterRead({
depth,
depth: 0,
doc: globalJSON,
entityConfig: globalConfig,
req,
Expand Down

0 comments on commit 3677cf6

Please sign in to comment.