Github user mitchell852 commented on a diff in the pull request:

    
https://github.com/apache/incubator-trafficcontrol/pull/398#discussion_r109293498
  
    --- Diff: traffic_ops/app/lib/API/User.pm ---
    @@ -174,7 +179,9 @@ sub update {
                registration_sent               => ( 
$params->{registrationSent} ) ? 1 : 0,
                role                                    => $params->{role},
                state_or_province               => $params->{stateOrProvince},
    -           username                                => $params->{username}
    +           username                                => $params->{username},
    +           tenant_id                               => $tenant_id
    --- End diff --
    
    I think you can just do this to get the desired result:
    
    tenant_id  => $params->{tenantId}
    
    and if it's not provided, it will set it to  undef, otherwise it will set 
it accordingly


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to