mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 20:49:06 +01:00
Fix English grammatical error
This commit is contained in:
parent
2140d22f2c
commit
265773655f
@ -64,7 +64,7 @@ module.exports = (params, user, app) =>
|
|||||||
return rej('too many media');
|
return rej('too many media');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Drop duplicates
|
// Drop duplications
|
||||||
medias = medias.filter((x, i, s) => s.indexOf(x) == i);
|
medias = medias.filter((x, i, s) => s.indexOf(x) == i);
|
||||||
|
|
||||||
// Fetch files
|
// Fetch files
|
||||||
@ -212,7 +212,7 @@ module.exports = (params, user, app) =>
|
|||||||
// Trim choices
|
// Trim choices
|
||||||
poll.choices = poll.choices.map(choice => choice.trim());
|
poll.choices = poll.choices.map(choice => choice.trim());
|
||||||
|
|
||||||
// Drop duplicates
|
// Drop duplications
|
||||||
poll.choices = poll.choices.filter((x, i, s) => s.indexOf(x) == i);
|
poll.choices = poll.choices.filter((x, i, s) => s.indexOf(x) == i);
|
||||||
|
|
||||||
// 選択肢がひとつならエラー
|
// 選択肢がひとつならエラー
|
||||||
|
Loading…
Reference in New Issue
Block a user