Add conversion job logic
This commit is contained in:
@@ -21,3 +21,9 @@ const (
|
||||
StateUploaded = "uploaded"
|
||||
StatusFailed = "failed"
|
||||
)
|
||||
|
||||
func (j *TranscribeJob) MoveToState(state string) {
|
||||
j.State = state
|
||||
j.Worker = nil
|
||||
j.AcquiredAt = nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user