Skip to content

Commit 1ea97d4

Browse files
authored
fix: include size in response so that LLC can recognize media library uploads as file reference (#3165)
1 parent 84ea70c commit 1ea97d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package/expo-package/src/optionalDependencies/getPhotos.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export const getPhotos = MediaLibrary
5959
duration: asset.duration * 1000,
6060
height: asset.height,
6161
name: asset.filename,
62+
size: 0,
6263
thumb_url: asset.mediaType === 'photo' ? undefined : asset.uri,
6364
type: mimeType,
6465
uri: localUri || asset.uri,

0 commit comments

Comments
 (0)