Skip to content

Commit 84270fa

Browse files
committed
Updated get_incident to create_incident_note
1 parent 81e72e6 commit 84270fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

REST_API_v2/Incidents/create_incident_note.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
INCIDENT_ID = 'PI8BBP5'
3939
CONTENT = 'Enter your note content here'
4040

41-
def get_incident():
41+
def create_incident_note():
4242
url = 'https://api.pagerduty.com/incidents/' + INCIDENT_ID + '/notes'
4343
headers = {
4444
'Accept': 'application/vnd.pagerduty+json;version=2',
@@ -56,4 +56,4 @@ def get_incident():
5656
print r.json()
5757

5858
if __name__ == '__main__':
59-
get_incident()
59+
create_incident_note()

0 commit comments

Comments
 (0)