Skip to content

Commit caedd23

Browse files
committed
Fix the order of the websocket headers
1 parent fe61628 commit caedd23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/coderApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ export class CoderApi extends Api {
144144
agent: httpAgent,
145145
followRedirects: true,
146146
headers: {
147-
...headers,
148147
...(token ? { [coderSessionTokenHeader]: token } : {}),
149148
...configs.options?.headers,
149+
...headers,
150150
},
151151
...configs.options,
152152
},

0 commit comments

Comments
 (0)