Add 'name' field to brand creation/edit page

This commit is contained in:
Tom Byers
2018-08-09 16:24:22 +01:00
parent eb64033ff3
commit 1269071da2
4 changed files with 9 additions and 3 deletions

View File

@@ -24,10 +24,11 @@ class EmailBrandingClient(NotifyAdminAPIClient):
}
return self.post(url="/email-branding", data=data)
def update_email_branding(self, branding_id, logo, name, colour):
def update_email_branding(self, branding_id, logo, name, text, colour):
data = {
"logo": logo,
"name": name,
"text": text,
"colour": colour
}
return self.post(url="/email-branding/{}".format(branding_id), data=data)