The `to_dt` for `bookmark.get_all_bookmarks` is mapped over `fromdt`
yyolk opened this issue · comments
Describe the bug
There's just a typo in the mapping to the api param paypload from the method kwargs
To Reproduce
...
await api.bookmark.async_get_all_bookmarks(from_dt=from_dt, to_dt=to_dt)
...
While providing either option, or both, only from_dt
is set, and all bookmarks since from_dt
are returned.
Expected behavior
Bookmarks between from_dt
, to_dt
are returned.
Additional context
I've tested the results on my branch yyolk/aiopinboard@8db36b6 and it returns the right results