moved utils

This commit is contained in:
WaylonWalker 2019-11-10 10:16:26 -06:00
parent 7328964564
commit bee3d86df7
6 changed files with 2690 additions and 6 deletions

3
functions/utils/getId.js Normal file
View file

@ -0,0 +1,3 @@
module.exports = function getId(urlPath) {
return urlPath.match(/([^\/]*)\/*$/)[0]
}