Merge pull request #5 from fbegyn/doorkeeper-port

Port mattermore for doorkeeper
This commit is contained in:
redfast00 2019-05-28 21:10:24 +02:00 committed by GitHub
commit 6913931d4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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