Skip to content

Commit aa8ac61

Browse files
authored
Corrected bad reference to ctxt
1 parent a29dea9 commit aa8ac61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql-server/drivers/arangodb/driver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ async function isEndOfList(parent, args, info) {
15101510
async function getTotalCount(parent, args, info) {
15111511
let type = graphql.getNamedType(info.parentType.getFields()['content'].type);
15121512
let query = [aql`FOR x IN FLATTEN(FOR i IN [`];
1513-
addPossibleTypes(query, ctxt, info.schema, type);
1513+
addPossibleTypes(query, info.schema, type);
15141514
query.push(aql`] RETURN i)`);
15151515

15161516
// add filters

0 commit comments

Comments
 (0)