mirror of
https://github.com/status-im/react-native-camera-roll.git
synced 2026-08-27 19:31:12 +00:00
fix(all): call getParamsWithDefaults static method (#420)
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user