lint: resolve lint problems

This commit is contained in:
Adhiraj Singh
2022-09-15 07:10:16 +05:30
parent 1b710729e5
commit 952813d57a

View File

@@ -65,7 +65,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
logger.debug({ recv: { tag, attrs }, sent: stanza.attrs }, 'sent ack')
await sendNode(stanza)
}
const rejectCall = async(callId: string, callFrom: string) => {
const stanza: BinaryNode = ({
tag: 'call',
@@ -76,13 +76,13 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
content: [{
tag: 'reject',
attrs: {
'call-id': callId,
'call-creator': callFrom,
count: '0',
'call-id': callId,
'call-creator': callFrom,
count: '0',
},
content: undefined,
}],
});
})
await query(stanza)
}