This is an automated email from the ASF dual-hosted git repository.

ocket8888 pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git

commit c786d5831d54c2100f6ab286135a788a9151d230
Author: ocket8888 <[email protected]>
AuthorDate: Mon Jan 30 19:28:20 2023 -0700

    Fix incorrectly optional tenantId in user update requests
    
    I also got rid of the technically-supported-but-undocumented 'tenantID'.
    Nobody should use that.
---
 src/user.ts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/user.ts b/src/user.ts
index c500b97..88a4b38 100644
--- a/src/user.ts
+++ b/src/user.ts
@@ -67,8 +67,7 @@ interface PutRequestNotChangingPasswordUser {
        publicSshKey?: string | null;
        role: string;
        stateOrProvince?: string | null;
-       tenantId?: never;
-       tenantID: number;
+       tenantId: number;
        ucdn?: string | null;
        /** @deprecated This has no purpose and should never be used. */
        uid?: number | null;

Reply via email to