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