validador
This commit is contained in:
@@ -134,7 +134,7 @@ export class SimController {
|
||||
|
||||
public reActivation() {
|
||||
return this.controllerGenerator<{ iccid: string, offer: string }, { iccid: string, offer: string, compañia: string }>({
|
||||
validator: activationValidator,
|
||||
validator: iccidValidator,
|
||||
mapBody: (b) => {
|
||||
const { iccid, offer } = b
|
||||
const compañia = companyFromIccid(iccid)
|
||||
|
||||
Reference in New Issue
Block a user