mensaje error invitados
This commit is contained in:
@@ -38,7 +38,7 @@ const infoInvitados = async (body) => {
|
||||
'No existe ningún profesor con este id en esta premiación.'
|
||||
);
|
||||
if (profPrem.numeroInvitados)
|
||||
throw new Error('A este profesor ya se le han guardado sus invitados.');
|
||||
throw new Error('Este profesor ya registró invitados en otro momento.');
|
||||
profPrem.update({ numeroInvitados: numeroInvitados });
|
||||
|
||||
const respuesta = [];
|
||||
|
||||
Reference in New Issue
Block a user