backend: GET et POST /comments/:functionId

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

No files matched your search

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