Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions REST_API_v2/Schedules/list_oncall_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
UNTIL = ''


def list_overrides():
def list_oncall_users():
url = 'https://api.pagerduty.com/schedules/{id}/users'.format(
id=SCHEDULE_ID
)
Expand All @@ -56,4 +56,4 @@ def list_overrides():
print(r.json())

if __name__ == '__main__':
list_overrides()
list_oncall_users()