org settings: Add user group creation functionality.

This commit is contained in:
Cynthia Lin
2017-11-16 21:15:19 -08:00
committed by showell
parent 8c8cd5fbf1
commit 168e7bb2d6
3 changed files with 47 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ exports.init = function () {
// WE INITIALIZE DATA STRUCTURES HERE!
exports.init();
exports.add = function add(user_group) {
exports.add = function (user_group) {
user_group_name_dict.set(user_group.name, user_group);
user_group_by_id_dict.set(user_group.id, user_group);
};