Reworded confusing comment mentioning v0.1

This commit is contained in:
Nazar Gargol 2019-09-12 19:17:35 +02:00
parent cbca480b97
commit f75a8f9aa9

View File

@ -28,7 +28,7 @@ const uncapitalise = (req, res, next) => {
pathToTest = isSignupOrReset[1];
}
// Do not lowercase anything after e.g. /api/v0.1/ to protect :key/:slug
// Do not lowercase anything after e.g. /api/v{X}/ to protect :key/:slug
if (isAPI) {
pathToTest = isAPI[1];
}