mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-06-18 12:41:54 -04:00
MOB-1091: rm unnecessary BackupMapping type predicate
This commit is contained in:
@@ -56,7 +56,7 @@ export const backupObservationPhotos = async (
|
||||
);
|
||||
|
||||
const mappings = results.filter(
|
||||
( m ): m is BackupMapping => m !== null,
|
||||
m => m !== null,
|
||||
);
|
||||
logger.info(
|
||||
`backupObservationPhotos: backed up ${mappings.length} photos`,
|
||||
|
||||
Reference in New Issue
Block a user