p-meier / hapi-api-version

An API versioning plugin for hapi.
Apache License 2.0
74 stars 26 forks source link

Fix request.pre.apiVersion not being set when version is in route #26

Closed timcosta closed 5 years ago

timcosta commented 5 years ago

This PR resolves an issue where making a call to /v2/versioned was setting request.pre.apiVersion to 1 instead of 2.