moved ownedFile.type assignment
This commit is contained in:
parent
be498e0bd3
commit
1366f0b68e
2 changed files with 1 additions and 1 deletions
|
@ -100,6 +100,7 @@ export default function(state, emitter) {
|
|||
try {
|
||||
metrics.startedUpload({ size, type });
|
||||
const ownedFile = await sender.upload();
|
||||
ownedFile.type = type;
|
||||
state.storage.totalUploads += 1;
|
||||
metrics.completedUpload(ownedFile);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue