Update selection radios before edit/create new

They were already using the 'name' field in their
label but we don't want any other part of the
branding to appear now.
This commit is contained in:
Tom Byers
2018-08-09 15:50:07 +01:00
parent f2c3e0fdee
commit eb64033ff3
3 changed files with 5 additions and 3 deletions

View File

@@ -15,10 +15,11 @@ class EmailBrandingClient(NotifyAdminAPIClient):
def get_letter_email_branding(self):
return self.get(url='/dvla_organisations')
def create_email_branding(self, logo, name, colour):
def create_email_branding(self, logo, name, text, colour):
data = {
"logo": logo,
"name": name,
"text": text,
"colour": colour
}
return self.post(url="/email-branding", data=data)