Commit 6913931d authored by redfast00's avatar redfast00 Committed by GitHub

Merge pull request #5 from fbegyn/doorkeeper-port

Port mattermore for doorkeeper
parents 6bb2c6e2 7ec2c9d5
......@@ -123,7 +123,7 @@ def revoke(admin_username):
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})
return r.text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment