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
1 changed files with 1 additions and 1 deletions

View File

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