We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeb92dc commit b8609a6Copy full SHA for b8609a6
O365/message.py
@@ -542,7 +542,7 @@ def to_api_data(self, restrict_keys=None):
542
if self.sender and self.sender.address:
543
message[cc('from')] = self._recipient_to_cloud(self.sender)
544
545
- if self.categories or 'categories' in restrict_keys:
+ if self.categories or 'categories' in (restrict_keys or {}):
546
message[cc('categories')] = self.categories
547
548
if self.object_id and not self.__is_draft:
0 commit comments