Skip to content

Conversation

@brad
Copy link
Member

@brad brad commented May 16, 2017

@orcasgit/orcas-developers Please review. This should fix the issue with withings notifications not getting processed. The one difference between when we get data for notifications and when we get initial data is that we add a lastupdated parameter when getting data for notifications. We pass a datetime.datetime object and I'm not entirely sure what requests transforms that to for the request, but according to the Withings API it needs to be a "Date in unix epoch". The timestamp attribute in arrow works well in my testing.

I'm pulling against develope because it has the latest commits, but I'm thinking after this change is done we should merge to master and publish to PyPI

@coveralls
Copy link

coveralls commented May 16, 2017

Coverage Status

Changes Unknown when pulling 90a1281 on unix-epoch into ** on develop**.

@grokcode
Copy link

LGTM! Thanks for the upgrades and cleanup! :shipit:

@grokcode grokcode merged commit 6d4d81d into develop May 16, 2017
@grokcode grokcode deleted the unix-epoch branch May 16, 2017 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants