.
This commit is contained in:
parent
c342dc5b01
commit
0ff36cae1a
@ -20,7 +20,10 @@ function _generateMarketingDTO(dataInscription) {
|
|||||||
|
|
||||||
let { event, inscription, user, reservation } = dataInscription;
|
let { event, inscription, user, reservation } = dataInscription;
|
||||||
let inscriptionDTO = {};
|
let inscriptionDTO = {};
|
||||||
//let inscription = dataInscription.inscription ? dataInscription.inscription : dataInscription;
|
|
||||||
|
if (dataInscription)
|
||||||
|
if (!inscription)
|
||||||
|
inscription = dataInscription;
|
||||||
|
|
||||||
if (!event) {
|
if (!event) {
|
||||||
throw new Error('Falta datos del evento en la inscripción (_generateMarketingDTO)');
|
throw new Error('Falta datos del evento en la inscripción (_generateMarketingDTO)');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user