Spelling fix "JTW" -> "JWT"

This commit is contained in:
x032205
2025-06-14 01:38:29 -04:00
parent de917a5d74
commit edf4e75e55
17 changed files with 39 additions and 39 deletions
+2 -2
View File
@@ -118,7 +118,7 @@ var userGetTokenCmd = &cobra.Command{
util.HandleError(err, "[infisical user get token]: Unable to get logged in user token")
}
tokenParts := strings.Split(loggedInUserDetails.UserCredentials.JTWToken, ".")
tokenParts := strings.Split(loggedInUserDetails.UserCredentials.JWTToken, ".")
if len(tokenParts) != 3 {
util.HandleError(errors.New("invalid token format"), "[infisical user get token]: Invalid token format")
}
@@ -136,7 +136,7 @@ var userGetTokenCmd = &cobra.Command{
}
fmt.Println("Session ID:", tokenPayload.TokenVersionId)
fmt.Println("Token:", loggedInUserDetails.UserCredentials.JTWToken)
fmt.Println("Token:", loggedInUserDetails.UserCredentials.JWTToken)
},
}