Bug de logueo de operacion
This commit is contained in:
@@ -176,6 +176,7 @@ export class SimUsecases {
|
||||
console.log("[d] Cancelation ", cancelationWithId)
|
||||
await this.eventBus.publish([cancelationWithId])
|
||||
const savedOrder = await this.saveOrder(cancelationWithId)
|
||||
|
||||
if (savedOrder.error != undefined) {
|
||||
console.error(savedOrder.error)
|
||||
return {
|
||||
@@ -205,11 +206,12 @@ export class SimUsecases {
|
||||
iccid: args.iccid
|
||||
}
|
||||
}
|
||||
|
||||
const pauseWithId = this.addMessage_id(pauseEvent)
|
||||
console.log("[d] Pause", pauseWithId)
|
||||
await this.eventBus.publish([pauseWithId])
|
||||
await this.saveOrder(pauseWithId)
|
||||
const savedOrder = await this.saveOrder(pauseWithId)
|
||||
//await this.saveOrder(pauseWithId)
|
||||
const savedOrder = await this.saveOrder<SimEvents.pause>(pauseWithId)
|
||||
|
||||
if (savedOrder.error != undefined) {
|
||||
console.error(savedOrder.error)
|
||||
|
||||
Reference in New Issue
Block a user