Skip to content

Commit

Permalink
fix: Fixed session on webhook status-find (close #1133)
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Mar 22, 2023
1 parent 2152574 commit ffd721a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/createSessionUtil.js
Expand Up @@ -66,7 +66,7 @@ export default class CreateSessionUtil {
client.close();
clientsArray[session] = undefined;
}
callWebHook(client, req, 'status-find', { status: statusFind });
callWebHook(client, req, 'status-find', { status: statusFind, session: client.session });
req.logger.info(statusFind + '\n\n');
} catch (error) {}
},
Expand Down

0 comments on commit ffd721a

Please sign in to comment.