Skip to content

Commit fe08f46

Browse files
committed
simplify return
1 parent 29f2440 commit fe08f46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/execution/execute.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2292,8 +2292,7 @@ function executeSubscription(
22922292
);
22932293
}
22942294

2295-
const eventStream = assertEventStream(result);
2296-
return eventStream;
2295+
return assertEventStream(result);
22972296
} catch (error) {
22982297
throw locatedError(error, fieldNodes, pathToArray(path));
22992298
}

0 commit comments

Comments
 (0)