mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-08 08:04:21 +01:00
Include source property on own account
This commit is contained in:
@@ -11,7 +11,7 @@ const credentialsController: AppController = async (c) => {
|
||||
|
||||
const event = await getAuthor(pubkey);
|
||||
if (event) {
|
||||
return c.json(toAccount(event));
|
||||
return c.json(toAccount(event, { withSource: true }));
|
||||
}
|
||||
|
||||
return c.json({ error: 'Could not find user.' }, 404);
|
||||
|
||||
Reference in New Issue
Block a user