Truncate the tutorial stream name to fit the DB max stream name length.

(imported from commit e267656337f97d3ea14e14e957a405cf4fd2d06c)
This commit is contained in:
Jessica McKellar
2013-03-19 20:16:41 -04:00
parent 6263c9ba1e
commit 37e58b613d
4 changed files with 7 additions and 4 deletions

View File

@@ -121,6 +121,7 @@ var script = [];
function make_script() {
my_tutorial_stream = 'tutorial-' + email.split('@')[0];
my_tutorial_stream = my_tutorial_stream.substring(0, 30);
// Try to guess at one of your main streams.
// This is problematic because it might end up being 'commits' or something.