Skip to content

Commit 19c3f0b

Browse files
authored
Merge pull request #16 from StrictLine/master
Fixing wrong account_type
2 parents 67549c5 + caea728 commit 19c3f0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ pip install microsoftgraph-python
1010
If you need an office 365 token, send office365 attribute in True like this:
1111
```
1212
from microsoftgraph.client import Client
13-
client = Client('CLIENT_ID', 'CLIENT_SECRET', account_type='by defect common', office365=True)
13+
client = Client('CLIENT_ID', 'CLIENT_SECRET', account_type='common', office365=True) # by default common, thus account_type is optional parameter
1414
```
1515

1616
If you don't, just instance the library like this:
1717
```
1818
from microsoftgraph.client import Client
19-
client = Client('CLIENT_ID', 'CLIENT_SECRET', account_type='by defect common')
19+
client = Client('CLIENT_ID', 'CLIENT_SECRET', account_type='common') # by default common, thus account_type is optional parameter
2020
```
2121

2222
#### Get authorization url

0 commit comments

Comments
 (0)