Skip to content

Commit 25e7002

Browse files
authored
Merge pull request #9 from saridout/master
Fixed name of timestamp parameter for API call
2 parents d14bade + f501148 commit 25e7002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyminder/beeminder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def create_datapoint(
6868
):
6969
return self._call(f'/users/{self._user}/goals/{goal_name}/datapoints.json', data={
7070
'value': value,
71-
'unix_timestamp': unix_timestamp,
71+
'timestamp': unix_timestamp,
7272
'comment': comment
7373
}, method="POST")
7474

0 commit comments

Comments
 (0)