1
0
Fork 0

Update office365.py and models.py

This commit is contained in:
Serafim Bordei 2022-07-27 11:49:48 +02:00
parent 912f091d3f
commit dca20e1e1c
2 changed files with 3 additions and 4 deletions

View file

@ -208,7 +208,7 @@ class Mailbox(models.Model):
@property
def tenant_id(self):
"""Returns (if specified) the tenant id for Office365."""
tenant_id = self._query_string.get('tentant_id', None)
tenant_id = self._query_string.get('tenant_id', None)
if not tenant_id:
return None
return tenant_id[0]