fix(master): linting warnings

This commit is contained in:
Rajeh Taher
2024-05-10 16:33:59 +03:00
committed by GitHub
parent 88cf6f5234
commit ce325d1182
3 changed files with 9 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ export const makeBusinessSocket = (config: SocketConfig) => {
const getCatalog = async({ jid, limit, cursor }: GetCatalogOptions) => {
jid = jid || authState.creds.me?.id
jid = jidNormalizedUser(jid!)
jid = jidNormalizedUser(jid)
const queryParamNodes: BinaryNode[] = [
{
@@ -65,7 +65,7 @@ export const makeBusinessSocket = (config: SocketConfig) => {
const getCollections = async(jid?: string, limit = 51) => {
jid = jid || authState.creds.me?.id
jid = jidNormalizedUser(jid!)
jid = jidNormalizedUser(jid)
const result = await query({
tag: 'iq',
attrs: {