File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -335,7 +335,8 @@ def default_headers(self) -> dict[str, str | Omit]:
335
335
return {
336
336
** super ().default_headers ,
337
337
"X-Stainless-Async" : "false" ,
338
- "x-auth-email" : self .api_email if self .api_email is not None else Omit (),
338
+ "X-Auth-Key" : self .api_key if self .api_key is not None else Omit (),
339
+ "X-Auth-Email" : self .api_email if self .api_email is not None else Omit (),
339
340
** self ._custom_headers ,
340
341
}
341
342
@@ -745,7 +746,8 @@ def default_headers(self) -> dict[str, str | Omit]:
745
746
return {
746
747
** super ().default_headers ,
747
748
"X-Stainless-Async" : f"async:{ get_async_library ()} " ,
748
- "x-auth-email" : self .api_email if self .api_email is not None else Omit (),
749
+ "X-Auth-Key" : self .api_key if self .api_key is not None else Omit (),
750
+ "X-Auth-Email" : self .api_email if self .api_email is not None else Omit (),
749
751
** self ._custom_headers ,
750
752
}
751
753
You can’t perform that action at this time.
0 commit comments