logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 5359633c743455739a8b6fe64e246c832656b4d0
parent 8a99d129dcc4a07375727b4f8959c7fa775b8ec0
Author: Tusooa Zhu <tusooa@kazv.moe>
Date:   Mon,  1 Aug 2022 11:08:32 -0400

Fix timed mute lint

Diffstat:

Msrc/services/api/api.service.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js @@ -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 }) }