fix(all): call getParamsWithDefaults static method (#420)

This commit is contained in:
olubitsky
2022-09-30 14:47:04 +02:00
committed by Arjan Zuidema
parent 3d3fe6fae7
commit cd6d3fca0a
+1 -1
View File
@@ -216,7 +216,7 @@ export class CameraRoll {
* See https://facebook.github.io/react-native/docs/cameraroll.html#getphotos
*/
static getPhotos(params: GetPhotosParams): Promise<PhotoIdentifiersPage> {
params = this.getParamsWithDefaults(params);
params = CameraRoll.getParamsWithDefaults(params);
return RNCCameraRoll.getPhotos(params);
}