FokiDoki / WireRest

REST API for Wireguard
MIT License
23 stars 7 forks source link

Fixed pages displaying #48

Closed FokiDoki closed 1 year ago

FokiDoki commented 1 year ago

Prior to this, the pages were displayed incorrectly. Entering a non-existent page in the page parameter when requesting /peers returned the last available page and incorrectly displayed the number. Now if you enter an incorrect page, http code 400 will be returned. Now pages works normally.