mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-31 22:11:28 +00:00
transloadit: fix some emit() calls
This commit is contained in:
parent
055b201fe2
commit
a58b2cf1a2
1 changed files with 2 additions and 2 deletions
|
|
@ -195,7 +195,7 @@ module.exports = class Transloadit extends Plugin {
|
|||
}
|
||||
})
|
||||
})
|
||||
this.core.bus.emit('transloadit:upload', uploadedFile, this.getAssembly(assemblyId))
|
||||
this.core.emit('transloadit:upload', uploadedFile, this.getAssembly(assemblyId))
|
||||
}
|
||||
|
||||
onResult (assemblyId, stepName, result) {
|
||||
|
|
@ -206,7 +206,7 @@ module.exports = class Transloadit extends Plugin {
|
|||
this.updateState({
|
||||
results: this.state.results.concat(result)
|
||||
})
|
||||
this.core.bus.emit('transloadit:result', stepName, result, this.getAssembly(assemblyId))
|
||||
this.core.emit('transloadit:result', stepName, result, this.getAssembly(assemblyId))
|
||||
}
|
||||
|
||||
onAssemblyFinished (url) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue