Fix: ap/show (#3350)
This commit is contained in:
parent
168db6891f
commit
389315e000
1 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ async function fetchAny(uri: string) {
|
||||||
const user = await createPerson(object.id);
|
const user = await createPerson(object.id);
|
||||||
return {
|
return {
|
||||||
type: 'User',
|
type: 'User',
|
||||||
object: user
|
object: await packUser(user, null, { detail: true })
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ async function fetchAny(uri: string) {
|
||||||
const note = await createNote(object.id);
|
const note = await createNote(object.id);
|
||||||
return {
|
return {
|
||||||
type: 'Note',
|
type: 'Note',
|
||||||
object: note
|
object: await packNote(note, null, { detail: true })
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue