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:34 UTC

[trafficcontrol-trafficops-types] 02/07: Fix incorrect type of 'role' in user registration

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 61daeaf1626c066de7f94e4439113611ecd0118b
Author: ocket8888 <oc...@apache.org>
AuthorDate: Mon Jan 30 19:07:01 2023 -0700

    Fix incorrect type of 'role' in user registration
---
 src/login.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/login.ts b/src/login.ts
index 5cf5827..9590905 100644
--- a/src/login.ts
+++ b/src/login.ts
@@ -60,6 +60,6 @@ export interface ResetPasswordRequest {
  */
 export interface RegistrationRequest {
 	email: `${string}@${string}.${string}`;
-	role: number;
+	role: string;
 	tenantId: number;
 }