Skip to content

Commit

Permalink
fix(comments): use _weak instead of weak (#5936)
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanwikner authored Mar 8, 2024
1 parent 75273af commit 642224f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,11 @@ export async function createOperation(props: CreateOperationProps): Promise<void
document: {
_ref: documentId,
_type: 'reference',
weak: true,
_weak: true,
},
documentType,
},
}

return
}

if (comment.type === 'field') {
Expand Down
2 changes: 1 addition & 1 deletion packages/sanity/src/structure/comments/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export interface CommentDocument {
| {
_ref: string
_type: 'reference'
weak: boolean
_weak: boolean
}
}
}
Expand Down

0 comments on commit 642224f

Please sign in to comment.