Skip to content

Commit 3e8bdbd

Browse files
committed
fixing errors from break
1 parent 29cc675 commit 3e8bdbd

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[1], nil
2323
}

0 commit comments

Comments
 (0)