Fix timed mute lint

このコミットが含まれているのは:
Tusooa Zhu 2022-08-01 11:08:32 -04:00 committed by tusooa
コミット 5359633c74
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 7B467EDE43A08224
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -1121,7 +1121,7 @@ const fetchMutes = ({ credentials }) => {
const muteUser = ({ id, expiresIn, credentials }) => {
const payload = {}
if (expiresIn) {
payload['expires_in'] = expiresIn
payload.expires_in = expiresIn
}
return promisedRequest({ url: MASTODON_MUTE_USER_URL(id), credentials, method: 'POST', payload })
}