1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-04-01 09:09:29 -05:00
This commit is contained in:
syuilo 2017-03-02 05:12:59 +09:00
parent fd0ce15b1b
commit 17c8969fd2

View file

@ -165,7 +165,7 @@ module.exports = (params, user, app) =>
}
// テキストが無いかつ添付ファイルが無いかつRepostも無いかつ投票も無かったらエラー
if (text === null && files === null && repost === null && pollChoices === null) {
if (text === null && files === null && repost === null && poll === null) {
return rej('text, media_ids, repost_id or poll is required');
}