Activación con externalId
This commit is contained in:
@@ -72,9 +72,12 @@ export class SimAlaiController {
|
||||
const data = this.validateMsg(msg) as SimEvents.activation
|
||||
const iccid = data.payload.iccid
|
||||
const correlation_id = data.headers?.message_id
|
||||
const res = await this.tryUseCase(msg, this.uscases.activate({
|
||||
const externalId = data.payload.orderId
|
||||
|
||||
const res = await this.tryUseCase(msg, this.uscases.preactivate({
|
||||
iccid: iccid,
|
||||
correlation_id: correlation_id
|
||||
correlation_id: correlation_id,
|
||||
externalId: externalId
|
||||
}))
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user