Fix API history request
Merge pull request #262 from Wizkidje/master

Fix API history request in dev