Skip to content

Commit efd5b96

Browse files
committed
breaking getapikey function
1 parent 92717fe commit efd5b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/auth/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ func GetAPIKey(headers http.Header) (string, error) {
1919
return "", errors.New("malformed authorization header")
2020
}
2121

22-
return splitAuth[2], nil
22+
return splitAuth, nil
2323
}

0 commit comments

Comments
 (0)