Change 'runCommand' function to 'command' to match the MongoDB driver function