diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-08-25 18:32:45 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-08-25 18:32:45 -0400 |
| commit | 5f5fcfee56a4f7067c1b9ccf51e662463b71e7f1 (patch) | |
| tree | c90cbc41f286221cae08cdf72a1c18a1c21600e8 /server/lib/api/collaborator.js | |
| parent | 9257818363269a2893c1a7ee61adb497f749e38f (diff) | |
showing the collab url
Diffstat (limited to 'server/lib/api/collaborator.js')
| -rw-r--r-- | server/lib/api/collaborator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/api/collaborator.js b/server/lib/api/collaborator.js index c080070..1fda01b 100644 --- a/server/lib/api/collaborator.js +++ b/server/lib/api/collaborator.js @@ -57,7 +57,7 @@ var collaborator = { return res.json({ error: "can't find project" }) } var data = util.cleanQuery(req.body) - data.email = util.sanitize( data.email ) + data.email = util.trim( util.sanitize( data.email ) ) data.project_id = req.project._id delete data.user_id |
