Skip to content

Commit dd7aeee

Browse files
fix(batch-write-single-table): return instance
on method returnItemCollectionMetrics
1 parent f11a890 commit dd7aeee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dynamo/request/batchwritesingletable/batch-write-single-table.request.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ export class BatchWriteSingleTableRequest<T, T2 = T> extends BaseRequest<
3434
/**
3535
* return item collection metrics.
3636
*/
37-
returnItemCollectionMetrics(value: DynamoDB.ReturnItemCollectionMetrics) {
37+
returnItemCollectionMetrics(value: DynamoDB.ReturnItemCollectionMetrics): this {
3838
this.params.ReturnItemCollectionMetrics = value
39+
return this
3940
}
4041

4142
delete(items: Array<Partial<T>>): this {

0 commit comments

Comments
 (0)