diff --git a/src/app/core/register2/register2.form-adapter.ts b/src/app/core/register2/register2.form-adapter.ts index 02b1435e5c..58a41f699b 100644 --- a/src/app/core/register2/register2.form-adapter.ts +++ b/src/app/core/register2/register2.form-adapter.ts @@ -133,7 +133,7 @@ export function Register2FormAdapterMixin>(base: T) { }, departmentName: { value: departmentName }, roleTitle: { value: roleTitle }, - affiliationType: { value: 'Employment' }, + affiliationType: { value: 'employment' }, } } } diff --git a/src/app/core/register2/register2.service.ts b/src/app/core/register2/register2.service.ts index 3d14a5c7cb..3037803a45 100644 --- a/src/app/core/register2/register2.service.ts +++ b/src/app/core/register2/register2.service.ts @@ -136,9 +136,7 @@ export class Register2Service extends _RegisterServiceMixingBase { ) ) .pipe( - tap((value) => { - throw 'nothing' - }), + retry(3), catchError((error) => this._errorHandler.handleError(error, ERROR_REPORT.REGISTER)