Fix timed mute lint
This commit is contained in:
parent
8a99d129dc
commit
5359633c74
@ -1121,7 +1121,7 @@ const fetchMutes = ({ credentials }) => {
|
|||||||
const muteUser = ({ id, expiresIn, credentials }) => {
|
const muteUser = ({ id, expiresIn, credentials }) => {
|
||||||
const payload = {}
|
const payload = {}
|
||||||
if (expiresIn) {
|
if (expiresIn) {
|
||||||
payload['expires_in'] = expiresIn
|
payload.expires_in = expiresIn
|
||||||
}
|
}
|
||||||
return promisedRequest({ url: MASTODON_MUTE_USER_URL(id), credentials, method: 'POST', payload })
|
return promisedRequest({ url: MASTODON_MUTE_USER_URL(id), credentials, method: 'POST', payload })
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user