mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Update office365.py and models.py
This commit is contained in:
parent
912f091d3f
commit
dca20e1e1c
2 changed files with 3 additions and 4 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue