Skip to content

Commit

Permalink
feat: Added dynamic device name
Browse files Browse the repository at this point in the history
  • Loading branch information
moskoweb committed Jul 7, 2023
1 parent aca2b87 commit 9e6e3fa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/util/createSessionUtil.ts
Expand Up @@ -68,8 +68,12 @@ export default class CreateSessionUtil {
req.serverOptions.createOptions,
{
session: session,
deviceName: req.serverOptions.deviceName,
poweredBy: req.serverOptions.poweredBy || 'WPPConnect-Server',
deviceName:
client.config?.deviceName || req.serverOptions.deviceName,
poweredBy:

Check failure on line 73 in src/util/createSessionUtil.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `·`
client.config?.poweredBy ||
req.serverOptions.poweredBy ||
'WPPConnect-Server',
catchQR: (
base64Qr: any,
asciiQR: any,
Expand Down

0 comments on commit 9e6e3fa

Please sign in to comment.