Skip to content

Commit d2dfafc

Browse files
committed
Cleaned up extra template string variable
1 parent 0b2e8df commit d2dfafc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/initApollo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function create(initialState, { getToken }) {
2727
credentials: 'same-origin',
2828
headers: {
2929
// HTTP Header: Cookie: <cookiename>=<cookievalue>
30-
Cookie: `${'connect.sid'}=${getToken()['connect.sid']}`,
30+
Cookie: `connect.sid=${getToken()['connect.sid']}`,
3131
},
3232
}),
3333
cache: new InMemoryCache().restore(initialState || {}),

0 commit comments

Comments
 (0)