Skip to content

Commit

Permalink
Fix team displayName -> display_name
Browse files Browse the repository at this point in the history
The class attribute is display_name, not displayName.
  • Loading branch information
tubaman committed May 5, 2020
1 parent 81a435d commit 166c340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions O365/teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __str__(self):
return self.__repr__()

def __repr__(self):
return 'Team: {}'.format(self.displayName)
return 'Team: {}'.format(self.display_name)

def __eq__(self, other):
return self.object_id == other.object_id
Expand Down Expand Up @@ -97,7 +97,7 @@ def __str__(self):
return self.__repr__()

def __repr__(self):
return 'Channel: {}'.format(self.displayName)
return 'Channel: {}'.format(self.display_name)

def __eq__(self, other):
return self.object_id == other.object_id
Expand Down

0 comments on commit 166c340

Please sign in to comment.