From 439ac5494c5414ab04e453fd7d5a5aa9fd64a535 Mon Sep 17 00:00:00 2001 From: piratefinn Date: Thu, 29 Jun 2017 13:51:36 +0100 Subject: [PATCH] fix to previous commit --- src/app/pages/register.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/register.component.ts b/src/app/pages/register.component.ts index 34c62b7..519472b 100644 --- a/src/app/pages/register.component.ts +++ b/src/app/pages/register.component.ts @@ -45,7 +45,7 @@ export class RegisterComponent { }); this.organisationForm = new ValidationManager({ name: 'required', - name: 'sector', + sector: 'required', street_name: 'required', town: 'required', postcode: 'required', @@ -101,7 +101,7 @@ export class RegisterComponent { email: signupForm.email, password: signupForm.password, name: organisationForm.name, - name: organisationForm.sector, + sector: organisationForm.sector, street_name: organisationForm.street_name, town: organisationForm.town, postcode: organisationForm.postcode,