You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2023/01/31 03:17:36 UTC
[trafficcontrol-trafficops-types] 04/07: Fix incorrectly optional tenantId in user update requests
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 <oc...@apache.org>
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;