Skip to content

Commit b938b1f

Browse files
Fix cookie auth parameter in docs (#556)
Cookie authentication uses the "cookies" parameter, not "cookie". See atlassian/rest_client.py
1 parent 23370dd commit b938b1f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,19 +133,19 @@ Or reuse cookie file:
133133
134134
jira = Jira(
135135
url='http://localhost:8080',
136-
cookie=cookie_dict)
136+
cookies=cookie_dict)
137137
138138
confluence = Confluence(
139139
url='http://localhost:8090',
140-
cookie=cookie_dict)
140+
cookies=cookie_dict)
141141
142142
bitbucket = Bitbucket(
143143
url='http://localhost:7990',
144-
cookie=cookie_dict)
144+
cookies=cookie_dict)
145145
146146
service_desk = ServiceDesk(
147147
url='http://localhost:8080',
148-
cookie=cookie_dict)
148+
cookies=cookie_dict)
149149
150150
To authenticate to the Atlassian Cloud APIs:
151151

0 commit comments

Comments
 (0)