From ec699805aeea7a9059de65c75eaaa30c545b2c9c Mon Sep 17 00:00:00 2001 From: Ian Webster Date: Sat, 3 Jan 2015 11:56:00 -0800 Subject: [PATCH] Fix missing shasum var --- server/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/app.js b/server/app.js index 40f1674..102b8eb 100644 --- a/server/app.js +++ b/server/app.js @@ -107,6 +107,7 @@ function textRequestHandler(req, res, number, region, key) { message = ' ' + message; } + var shasum = crypto.createHash('sha1'); shasum.update(number); var authbox_digest = shasum.digest('hex'); _.extend(authbox_details, {