Open hieupham1103 opened 2 years ago
I can not reproduce this error. Can you send me the user id of a user where it happens?
This is the code i used:
@pytest.mark.asyncio
async def test_get_profile():
wrapper = tatsu.wrapper.ApiWrapper(key=APIKEY)
result = await wrapper.get_profile(274561812664549376)
print(result.credits)
assert result.credits is not None
I use Tatsu API to get user's credit, but it has problem is 'object has no attribute 'credits''. It also appears when I use avatar_url, avatar_hash,...