mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Move some methods from the API client to the model
They make more sense being on the model, and it doesn’t make any sense to duplicate them.
This commit is contained in:
@@ -402,7 +402,7 @@ def copy_template(service_id, template_id):
|
||||
form=form,
|
||||
template=template,
|
||||
heading_action='Add',
|
||||
services=user_api_client.get_service_ids_for_user(current_user),
|
||||
services=current_user.all_service_ids,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user