Skip to content

Commit

Permalink
fix(sanity): fix typo in groq query for deleting bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaDias authored and juice49 committed Oct 7, 2024
1 parent 919e0db commit 265d274
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function useBundleOperations() {

// Fetch the related version documents from the main dataset, this documents will be removed
const versionDocuments = await studioClient.fetch<SanityDocument[]>(
`_id in path("versions.${bundle.slug}.*")]`,
`*[_id in path("versions.${bundle.slug}.*")]`,
)
// Starts the transaction to remove the documents.
const transaction = studioClient.transaction()
Expand Down

0 comments on commit 265d274

Please sign in to comment.