From 591b8071bc750ec452de2d9684efd7744efe50d4 Mon Sep 17 00:00:00 2001 From: mrijoo <73265656+mrijoo@users.noreply.github.com> Date: Mon, 2 Nov 2020 16:42:51 +0700 Subject: [PATCH] Update index.js --- index.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 8631bb2..0265da6 100644 --- a/index.js +++ b/index.js @@ -53,6 +53,9 @@ const start = (client = new Client()) => { }) } -create('Imperial', options(true, start)) - .then((client) => start(client)) - .catch((err) => new Error(err)) +create({ + sessionId: 'Imperial', + ...options(true, start) +}) +.then((client) => start(client)) +.catch((err) => new Error(err))