clawrelay 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/gateway-handler.ts +1 -1
package/package.json
CHANGED
package/src/gateway-handler.ts
CHANGED
|
@@ -36,7 +36,7 @@ export function createRelayInboundHandler(api: any) {
|
|
|
36
36
|
|
|
37
37
|
// Resolve the account — use accountId from params or fall back to default
|
|
38
38
|
const accountId = (params.accountId as string) ?? 'default';
|
|
39
|
-
const config = api.
|
|
39
|
+
const config = api.config;
|
|
40
40
|
const accounts = config.channels?.relay?.accounts ?? {};
|
|
41
41
|
const accountData = accounts[accountId] ?? config.channels?.relay;
|
|
42
42
|
|