Skip to content

Commit c755c13

Browse files
committed
Modify header X-Meili-Api-Key by Authorization
1 parent b6bc02b commit c755c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meilisearch/_httprequests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class HttpRequests:
1212
def __init__(self, config: Config) -> None:
1313
self.config = config
1414
self.headers = {
15-
'X-Meili-Api-Key': self.config.api_key,
15+
'Authorization': f'Bearer {self.config.api_key}',
1616
}
1717

1818
def send_request(

0 commit comments

Comments
 (0)