fix for lint
This commit is contained in:
parent
01afdc410e
commit
8b7f5be878
12 changed files with 581 additions and 574 deletions
|
|
@ -8,7 +8,7 @@ export default async function renderQuestion(user: { id: User['id'] }, note: Not
|
|||
type: 'Question',
|
||||
id: `${config.url}/questions/${note.id}`,
|
||||
actor: `${config.url}/users/${user.id}`,
|
||||
content: note.text || '',
|
||||
content: note.text || '',
|
||||
[poll.multiple ? 'anyOf' : 'oneOf']: poll.choices.map((text, i) => ({
|
||||
name: text,
|
||||
_misskey_votes: poll.votes[i],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue