Skip to content

Commit 0f6e556

Browse files
committed
fix(query-request): add metadata arg for addSortKeyCondition
1 parent 23bf3ea commit 0f6e556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dynamo/request/query/query.request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class QueryRequest<T> extends Request<T, QueryRequest<T>, QueryInput, Que
6666
throw new Error('There was no sort key defined for current schema')
6767
}
6868

69-
return RequestExpressionBuilder.addSortKeyCondition(sortKey, this)
69+
return RequestExpressionBuilder.addSortKeyCondition(sortKey, this, this.metaData)
7070
}
7171

7272
// TODO TYPING how can we improve the typing to define the accepted value for condition function (see

0 commit comments

Comments
 (0)