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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user