ERROR/ESLINT

This commit is contained in:
Rajeh Taher
2022-08-10 19:55:06 +03:00
committed by GitHub
parent 374a6c505f
commit 4247257850

View File

@@ -91,7 +91,7 @@ class GroupChat extends Chat {
* @returns {Promise<Array<Object>>}
*/
async removeParticipants(participantIds, sleep = null) {
return return this._changeParticipants(participantIds, 'remove', sleep);
return this._changeParticipants(participantIds, 'remove', sleep);
}
/**
@@ -101,7 +101,7 @@ class GroupChat extends Chat {
* @returns {Promise<Array<Object>>}
*/
async promoteParticipants(participantIds, sleep = null) {
return return this._changeParticipants(participantIds, 'promote', sleep);
return this._changeParticipants(participantIds, 'promote', sleep);
}
/**
@@ -111,7 +111,7 @@ class GroupChat extends Chat {
* @returns {Promise<Array<Object>>}
*/
async demoteParticipants(participantIds, sleep = null) {
return return this._changeParticipants(participantIds, 'demote', sleep);
return this._changeParticipants(participantIds, 'demote', sleep);
}
/**