mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-25 21:00:47 -05:00
Attach current user to redact client method
Not sure how to test this, but we need it.
This commit is contained in:
@@ -171,7 +171,9 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
def redact_service_template(self, service_id, id_):
|
||||
return self.post(
|
||||
"/service/{}/template/{}".format(service_id, id_),
|
||||
{'redact_personalisation': True}
|
||||
_attach_current_user(
|
||||
{'redact_personalisation': True}
|
||||
),
|
||||
)
|
||||
|
||||
def get_service_template(self, service_id, template_id, version=None, *params):
|
||||
|
||||
Reference in New Issue
Block a user