Skip to content

Commit

Permalink
feat: add api release
Browse files Browse the repository at this point in the history
  • Loading branch information
leifermendez committed Jun 21, 2024
1 parent 1a6126e commit a6fc090
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/provider-baileys/src/bailey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ class BaileysProvider extends ProviderClass<WASocket> {
this.globalVendorArgs = { ...this.globalVendorArgs, ...args }
}

public static async releaseSessionFiles(name: string) {
const NAME_DIR_SESSION = `${name}_sessions`
public async releaseSessionFiles() {
const NAME_DIR_SESSION = `${this.globalVendorArgs.name}_sessions`
const idTimer = await releaseTmp(NAME_DIR_SESSION, 0)
clearInterval(idTimer)
}
Expand Down

0 comments on commit a6fc090

Please sign in to comment.