Merge pull request #5 from fbegyn/doorkeeper-port
Port mattermore for doorkeeper
This commit is contained in:
commit
6913931d4f
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def revoke(admin_username):
|
||||||
|
|
||||||
|
|
||||||
def slotmachien_request(username, command):
|
def slotmachien_request(username, command):
|
||||||
r = requests.post(config.slotmachien_url, data={
|
r = requests.post(config.slotmachien_url, json={
|
||||||
'username': username, 'token': config.slotmachien_token, 'text': command})
|
'username': username, 'token': config.slotmachien_token, 'text': command})
|
||||||
return r.text
|
return r.text
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue