We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52403f4 commit d2e5422Copy full SHA for d2e5422
packages/velog-server/src/common/plugins/global/mercuriusPlugin.ts
@@ -45,6 +45,7 @@ const mercuriusPlugin: FastifyPluginAsync = async (fastify) => {
45
requestbody: request?.body,
46
result,
47
user: request?.user,
48
+ ip: request?.ip,
49
}),
50
)
51
.catch(console.error)
@@ -65,6 +66,7 @@ const mercuriusPlugin: FastifyPluginAsync = async (fastify) => {
65
66
requestbody: (ctx as any).request?.body,
67
execution,
68
user: (ctx as any).request?.user,
69
+ ip: (ctx as any).request?.ip,
70
71
72
0 commit comments