Skip to content

Commit 2ca3ae8

Browse files
committed
fix: text split
1 parent 9908b6d commit 2ca3ae8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/src/graphql/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async function startApollo(httpServer) {
7373
e.extensions.serverV || 'Unknown',
7474
'User:',
7575
e.extensions.user || 'Not Logged In',
76-
e.extensions.id || '',
76+
// e.extensions.id || '',
7777
customMessage || e,
7878
)
7979
return e

server/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ startApollo(httpServer).then((server) => {
293293
userRequestCache.set(user, [])
294294
}
295295
let reqEndpoint =
296-
req.body.query.split('on ')[1]?.split(' ')[0]?.toLowerCase() ||
296+
req.body.query.split(' on ')[1]?.split(' ')[0]?.toLowerCase() ||
297297
'unknown'
298298
if (
299299
reqEndpoint !== 'pokemon' &&

0 commit comments

Comments
 (0)