aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodl <[email protected]>2017-09-10 12:23:54 +0200
committercodl <[email protected]>2017-09-10 12:23:54 +0200
commit92dd24450dc3795b25bfbcbc767d6e52498d92c7 (patch)
tree9c53bb349b8fb981a63cd365370e6f4f41a9a432 /tests/client.credentials
parent7ded08fd84a8c136ee8da65f8c6238910aca71d9 (diff)
downloadmastodon.py-92dd24450dc3795b25bfbcbc767d6e52498d92c7.tar.gz
fix exception in log_in, by accepting json dates as timestamps
when requesting a bearer token, mastodon (more specifically doorkeeper) returns an object with a created_at attribute which is a plain timestamp unlike in most of mastodon's api: { "access_token": "hunter2", "token_type": "bearer", "scope": "read write", "created_at": 1504824250, }
Diffstat (limited to 'tests/client.credentials')
0 files changed, 0 insertions, 0 deletions
Powered by cgit v1.2.3 (git 2.41.0)