mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Add 'name' field to brand creation/edit page
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user