Skip to content

Commit 580bb53

Browse files
committed
docs: fix update_event example
1 parent 7af6d40 commit 580bb53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ body = EventUpdateRequest(linked_id='foo') # EventUpdateRequest |
165165
# body = EventUpdateRequest(linked_id='foo', tag={'bar': 123}, suspect=False)
166166

167167
try:
168-
api_instance.update_event(body, request_id)
168+
api_instance.update_event(request_id, body)
169169
except KnownApiException as e:
170170
structured_error = e.structured_error
171171
print("Error code: %s. Error message: %s\n" % (structured_error.error.code, structured_error.error.message))

0 commit comments

Comments
 (0)