Skip to content

Commit

Permalink
Added guser.default_org_id to javascript object
Browse files Browse the repository at this point in the history
  • Loading branch information
jorvis committed Jan 16, 2024
1 parent d2239de commit db01312
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/js/classes/user.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class User {
constructor ({id, user_name, email, institution, colorblind_mode, updates_wanted, is_admin,
help_id, date_created, session_id, default_profile_share_id} = {}) {
help_id, date_created, session_id, default_profile_share_id, default_org_id} = {}) {
this.id = id;
this.user_name = user_name;
this.email = email;
Expand All @@ -14,6 +14,7 @@ class User {
this.help_id = help_id;
this.date_created = date_created;
this.session_id = session_id;
this.default_org_id = default_org_id;

// derived
this.profile = undefined;
Expand Down

0 comments on commit db01312

Please sign in to comment.