Skip to content

Commit e740095

Browse files
committed
fix(shell-api): add renameCollection to stable API SERVER-77400
1 parent 6d7e2e8 commit e740095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shell-api/src/collection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ export default class Collection extends ShellApiWithMongoClass {
554554
}
555555

556556
@returnsPromise
557-
@apiVersions([])
557+
@apiVersions([1])
558558
async renameCollection(
559559
newName: string,
560560
dropTarget?: boolean

0 commit comments

Comments
 (0)