Skip to content

Commit 6361bec

Browse files
committed
[CodeFactor] Apply fixes
1 parent 85cfbbf commit 6361bec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins/apollo.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ export default defineNuxtPlugin((nuxtApp) => {
2424
* If session data exist in local storage, set value as session header.
2525
*/
2626

27-
console.log("Process.client: ", process.client)
27+
console.log("Process.client: ", process.client);
2828

29-
console.log("Middleware cookie.value: ", cookie.value)
29+
console.log("Middleware cookie.value: ", cookie.value);
3030

3131
if (process.client && cookie.value) {
3232
operation.setContext(() => ({
@@ -52,10 +52,10 @@ export default defineNuxtPlugin((nuxtApp) => {
5252

5353
const session = headers.get("woocommerce-session") || cookie.value;
5454

55-
console.log("Afterware Session: ", session)
55+
console.log("Afterware Session: ", session);
5656

5757
if (process.client && session) {
58-
console.log("Vi setter cookie ....")
58+
console.log("Vi setter cookie ....");
5959
cookie.value = session;
6060
}
6161
return response;

0 commit comments

Comments
 (0)