mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user