validador

This commit is contained in:
2026-04-15 10:28:52 +02:00
parent a35a6c2b60
commit 1dc4eb5648

View File

@@ -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)