File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { StatusCodes } from "http-status-codes";
44import { isDatabaseReachable } from "../../../db/client" ;
55import { env } from "../../../utils/env" ;
66import { isRedisReachable } from "../../../utils/redis/redis" ;
7+ import { thirdwebClientId } from "../../../utils/sdk" ;
78import { createCustomError } from "../../middleware/error" ;
89
910type EngineFeature =
@@ -26,6 +27,7 @@ const ReplySchemaOk = Type.Object({
2627 Type . Literal ( "SMART_BACKEND_WALLETS" ) ,
2728 ] ) ,
2829 ) ,
30+ clientId : Type . String ( ) ,
2931} ) ;
3032
3133const ReplySchemaError = Type . Object ( {
@@ -73,6 +75,7 @@ export async function healthCheck(fastify: FastifyInstance) {
7375 engineVersion : env . ENGINE_VERSION ,
7476 engineTier : env . ENGINE_TIER ?? "SELF_HOSTED" ,
7577 features : getFeatures ( ) ,
78+ clientId : `${ thirdwebClientId . slice ( 0 , 4 ) } ...${ thirdwebClientId . slice ( - 4 ) } ` ,
7679 } ) ;
7780 } ,
7881 } ) ;
You can’t perform that action at this time.
0 commit comments