mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Fixed WeKan api.py . WeKan API now works in newest WeKan and n8n.
Thanks to DimDz and Joffcom. Fixes #4595
This commit is contained in:
parent
b485c7304f
commit
aa2c3774a2
1 changed files with 1 additions and 1 deletions
2
api.py
2
api.py
|
@ -162,7 +162,7 @@ users = wekanurl + apiusers
|
|||
# ------- LOGIN TOKEN START -----------
|
||||
|
||||
data = {"username": username, "password": password}
|
||||
body = requests.post(wekanloginurl, data=data)
|
||||
body = requests.post(wekanloginurl, json=data)
|
||||
d = body.json()
|
||||
apikey = d['token']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue