Skip to content

Commit ee6af7d

Browse files
undo change
1 parent d3f3c33 commit ee6af7d

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

internal/wrappers/jwt-helper.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,7 @@ func containsIgnoreCase(arr []string, target string) bool {
116116
return false
117117
}
118118

119-
// getJwtStructFunc is a variable that holds the function to get JWT struct
120-
// This allows for dependency injection in tests
121-
var getJwtStructFunc = getJwtStructImpl
122-
123119
func getJwtStruct() (*JWTStruct, error) {
124-
return getJwtStructFunc()
125-
}
126-
127-
func getJwtStructImpl() (*JWTStruct, error) {
128120
accessToken, err := GetAccessToken()
129121
if err != nil {
130122
return nil, err

0 commit comments

Comments
 (0)