Small improvement to the consumer status with stronger typing

This commit is contained in:
Trenton Holmes
2023-07-22 16:51:05 -07:00
committed by Trenton H
parent 802e5591ce
commit 07e7bcd30b
3 changed files with 103 additions and 41 deletions

View File

@@ -164,7 +164,7 @@ export class ConsumerStatusService {
}
status.documentId = statusMessage.document_id
if (created && statusMessage.status == 'STARTING') {
if (created && statusMessage.status == 'STARTED') {
this.documentDetectedSubject.next(status)
}
if (statusMessage.status == 'SUCCESS') {