fix store path arg
This commit is contained in:
parent
506135925b
commit
6d7305c901
@ -86,10 +86,9 @@ async function processTwitchMessage(params: {
|
|||||||
OriginatingTo: `twitch:channel:${message.channel}`,
|
OriginatingTo: `twitch:channel:${message.channel}`,
|
||||||
});
|
});
|
||||||
|
|
||||||
const storePath = core.channel.session.resolveStorePath(
|
const storePath = core.channel.session.resolveStorePath(cfg.session?.store, {
|
||||||
config as Parameters<typeof core.channel.session.resolveStorePath>[0],
|
agentId: route.agentId,
|
||||||
{ agentId: route.agentId },
|
});
|
||||||
);
|
|
||||||
await core.channel.session.recordInboundSession({
|
await core.channel.session.recordInboundSession({
|
||||||
storePath,
|
storePath,
|
||||||
sessionKey: ctxPayload.SessionKey ?? route.sessionKey,
|
sessionKey: ctxPayload.SessionKey ?? route.sessionKey,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user