Skip to content

Commit 634f405

Browse files
Restore code to test-passing state
1 parent bf5cb81 commit 634f405

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,7 +19,7 @@ func GetAPIKey(headers http.Header) (string, error) {
1919

2020
splitAuth := strings.Split(authHeader, " ")
2121

22-
if len(splitAuth) < 2 || splitAuth[0] != "ApeKey" {
22+
if len(splitAuth) < 2 || splitAuth[0] != "ApiKey" {
2323
return "", ErrMalformedAuthHeader
2424
}
2525

0 commit comments

Comments
 (0)