feat: Add public key to user profiles in API responses and update user caching logic to store and manage it.

This commit is contained in:
Christomatt
2026-01-30 05:16:49 +01:00
parent 10a54a0ea9
commit 374bfadc74
3 changed files with 10 additions and 20 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ export async function GET(request: Request, context: RouteContext) {
displayName: profile.displayName,
avatarUrl: profile.avatarUrl || null,
did: profile.did || '',
isBot: profile.isBot || false
isBot: profile.isBot || false,
publicKey: profile.publicKey,
});
return NextResponse.json({