File tree 2 files changed +6
-5
lines changed 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { createYoga } from 'graphql-yoga';
10
10
import { describe , expect , it } from 'vitest' ;
11
11
import { useAWSSigv4 } from '../src' ;
12
12
13
- describe . skip ( 'AWS Sigv4 Incoming requests' , ( ) => {
13
+ describe ( 'AWS Sigv4 Incoming requests' , ( ) => {
14
14
const subgraphSchema = buildSubgraphSchema ( {
15
15
typeDefs : parse ( /* GraphQL */ `
16
16
type Query {
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export function useJWT(
76
76
executionRequest,
77
77
subgraphName,
78
78
setExecutionRequest,
79
- logger ,
79
+ log ,
80
80
} ) {
81
81
if ( shouldForward && executionRequest . context ?. jwt ) {
82
82
const jwtData : Partial < JWTExtendContextFields > = {
@@ -86,9 +86,10 @@ export function useJWT(
86
86
token : forwardToken ? executionRequest . context . jwt . token : undefined ,
87
87
} ;
88
88
89
- logger ?. debug (
90
- `Forwarding JWT payload to subgraph ${ subgraphName } , payload: ` ,
91
- jwtData . payload ,
89
+ log . debug (
90
+ { payload : jwtData . payload } ,
91
+ 'Forwarding JWT payload to subgraph %s' ,
92
+ subgraphName ,
92
93
) ;
93
94
94
95
setExecutionRequest ( {
You can’t perform that action at this time.
0 commit comments