backend: GET et POST /comments/:functionId

This commit is contained in:
Divlo
2020-04-09 14:31:33 +02:00
parent 84dae869ef
commit 9152313110
4 changed files with 63 additions and 12 deletions

View File

@ -0,0 +1,6 @@
function helperQueryNumber(value, defaultValue) {
if (value && !isNaN(value)) return parseInt(value);
return defaultValue;
}
module.exports = helperQueryNumber;