Skip to content

Commit

Permalink
@uppy/transloadit: also fix outdated assembly transloadit:result (#5246)
Browse files Browse the repository at this point in the history
Co-authored-by: Marius Kleidl <[email protected]>
  • Loading branch information
Murderlon and Acconut authored Jun 12, 2024
1 parent 22d2d2e commit 5695299
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/@uppy/transloadit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -682,12 +682,8 @@ export default class Transloadit<
this.setPluginState({
results: [...state.results, entry],
})
this.uppy.emit(
'transloadit:result',
stepName,
result,
this.getAssembly(assemblyId),
)
const assembly = this.activeAssemblies[assemblyId].status
this.uppy.emit('transloadit:result', stepName, result, assembly)
}

/**
Expand Down

0 comments on commit 5695299

Please sign in to comment.