Correct the block expiration parameter name
This commit is contained in:
parent
2c1bea0e0b
commit
68c88677a0
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ const unmuteConversation = ({ id, credentials }) => {
|
|||
const blockUser = ({ id, expiresIn, credentials }) => {
|
||||
const payload = {}
|
||||
if (expiresIn) {
|
||||
payload.expires_in = expiresIn
|
||||
payload.duration = expiresIn
|
||||
}
|
||||
|
||||
return promisedRequest({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue