Update readme
This commit is contained in:
@@ -22,7 +22,7 @@ import { Camera } from "web-gphoto2";
|
|||||||
let camera = new Camera();
|
let camera = new Camera();
|
||||||
|
|
||||||
async function connectCamera() {
|
async function connectCamera() {
|
||||||
await camera.showCameraPicker();
|
await Camera.showPicker();
|
||||||
await camera.connect();
|
await camera.connect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user