fix: header casing
This commit is contained in:
@@ -350,7 +350,7 @@ class StreamChatClient {
|
||||
Map<String, String> get _httpHeaders => {
|
||||
'Authorization': token,
|
||||
'stream-auth-type': _authType,
|
||||
'x-stream-client': _userAgent,
|
||||
'X-Stream-Client': _userAgent,
|
||||
'Content-Encoding': 'gzip',
|
||||
};
|
||||
|
||||
@@ -468,9 +468,9 @@ class StreamChatClient {
|
||||
user: state.user,
|
||||
connectParams: {
|
||||
'api_key': apiKey,
|
||||
'authorization': token,
|
||||
'Authorization': token,
|
||||
'stream-auth-type': _authType,
|
||||
'x-stream-client': _userAgent,
|
||||
'X-Stream-Client': _userAgent,
|
||||
},
|
||||
connectPayload: {
|
||||
'user_id': state.user.id,
|
||||
|
||||
Reference in New Issue
Block a user