Skip to content

Commit 404e09b

Browse files
committed
fix
1 parent abab374 commit 404e09b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/hypergraph/src/utils/translate-filter-to-graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export function translateFilterToGraphql<S extends Schema.Schema.AnyNoContext>(
130130
if (entityIdFilter) {
131131
const entityIdValue: EntityIdGraphqlFilter = entityIdFilter.is
132132
? { is: entityIdFilter.is }
133-
: { in: entityIdFilter.in! };
133+
: { in: entityIdFilter.in ?? [] };
134134

135135
if (isBacklink) {
136136
graphqlFilter.push({

0 commit comments

Comments
 (0)