mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04: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_):
|
def redact_service_template(self, service_id, id_):
|
||||||
return self.post(
|
return self.post(
|
||||||
"/service/{}/template/{}".format(service_id, id_),
|
"/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):
|
def get_service_template(self, service_id, template_id, version=None, *params):
|
||||||
|
|||||||
Reference in New Issue
Block a user