Fix: ap/show (#3350)

This commit is contained in:
MeiMei 2018-11-20 21:18:14 +09:00 committed by syuilo
parent 168db6891f
commit 389315e000

View File

@ -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 })
}; };
} }