mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-24 15:16:21 +09:00
Fix indent
This commit is contained in:
parent
a89c206572
commit
939c0dc5f9
@ -235,8 +235,8 @@ export default async (user: IUser, data: Option, silent = false) => new Promise<
|
||||
|
||||
async function renderActivity(data: Option, note: INote) {
|
||||
const content = data.renote && data.text == null
|
||||
? renderAnnounce(data.renote.uri ? data.renote.uri : await renderNote(data.renote), note)
|
||||
: renderCreate(await renderNote(note));
|
||||
? renderAnnounce(data.renote.uri ? data.renote.uri : await renderNote(data.renote), note)
|
||||
: renderCreate(await renderNote(note));
|
||||
|
||||
return packAp(content);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user