gcm encryption

This commit is contained in:
Abhinav Adduri
2017-06-20 13:03:04 -07:00
committed by Danny Coates
parent a7fcb1a44f
commit 50995238bd
4 changed files with 30 additions and 32 deletions

View File

@@ -171,5 +171,5 @@ app.listen(conf.listen_port, () => {
});
const validateID = route_id => {
return route_id.match(/^[0-9a-fA-F]{32}$/) !== null;
return route_id.match(/^[0-9a-fA-F]{24}$/) !== null;
};