diff --git a/src/Utils/generics.ts b/src/Utils/generics.ts index 4ad9a66..bf49d98 100644 --- a/src/Utils/generics.ts +++ b/src/Utils/generics.ts @@ -218,7 +218,7 @@ export const printQRIfNecessaryListener = (ev: BaileysEventEmitter, logger: Logg * utility that fetches latest baileys version from the master branch. * Use to ensure your WA connection is always on the latest version */ -export const fetchLatestBaileysVersion = async(options: AxiosRequestConfig) => { +export const fetchLatestBaileysVersion = async(options: AxiosRequestConfig = { }) => { const URL = 'https://raw.githubusercontent.com/adiwajshing/Baileys/master/src/Defaults/baileys-version.json' try { const result = await axios.get<{ version: WAVersion }>(