don't use outpoint from get response because it might not exist

This commit is contained in:
Sean Yesmunt 2020-05-20 15:40:25 -04:00
parent f6e5b69e5a
commit 910b55f059
2 changed files with 2 additions and 2 deletions

2
dist/bundle.es.js vendored
View file

@ -3968,7 +3968,7 @@ function doFileGet(uri, saveFile = true, onSuccess) {
type: FETCH_FILE_INFO_COMPLETED,
data: {
fileInfo: streamInfo,
outpoint: streamInfo.outpoint
outpoint: outpoint
}
});

View file

@ -49,7 +49,7 @@ export function doFileGet(uri: string, saveFile: boolean = true, onSuccess?: Get
type: ACTIONS.FETCH_FILE_INFO_COMPLETED,
data: {
fileInfo: streamInfo,
outpoint: streamInfo.outpoint,
outpoint: outpoint,
},
});