Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Sep 14, 2024
1 parent d6b0144 commit cc71739
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/backend-api7/e2e/support/global-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const httpClient = axios.create({
httpClient.interceptors.response.use((response) => {
if (response.headers['set-cookie']?.[0]) {
//@ts-expect-error forced
response.config.sessionToken = response.headers['set-cookie']?.[0];
response.config.sessionToken =
response.headers['set-cookie']?.[0].split(';')[0];
}
return response;
});
Expand Down

0 comments on commit cc71739

Please sign in to comment.