mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix(master): linting warnings
This commit is contained in:
@@ -165,8 +165,8 @@ export const makeGroupsSocket = (config: SocketConfig) => {
|
||||
}]
|
||||
)
|
||||
const node = getBinaryNodeChild(result, 'membership_requests_action')
|
||||
const nodeAction = getBinaryNodeChild(node!, action)
|
||||
const participantsAffected = getBinaryNodeChildren(nodeAction!, 'participant')
|
||||
const nodeAction = getBinaryNodeChild(node, action)
|
||||
const participantsAffected = getBinaryNodeChildren(nodeAction, 'participant')
|
||||
return participantsAffected.map(p => {
|
||||
return { status: p.attrs.error || '200', jid: p.attrs.jid }
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user