mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
adding templates and refactor to use dashboard data endpoint
This commit is contained in:
@@ -83,5 +83,11 @@ class OrganizationsClient(NotifyAdminAPIClient):
|
||||
url="/organizations/{}/message-allowance".format(org_id),
|
||||
)
|
||||
|
||||
def get_organization_dashboard(self, org_id, year):
|
||||
return self.get(
|
||||
url=f"/organizations/{org_id}/dashboard",
|
||||
params={"year": str(year)},
|
||||
)
|
||||
|
||||
|
||||
organizations_client = OrganizationsClient()
|
||||
|
||||
Reference in New Issue
Block a user