mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 21:50:22 +00:00
test: simplify reset hook surface values
This commit is contained in:
@@ -74,9 +74,9 @@ function buildResetParams(
|
||||
isAuthorizedSender: true,
|
||||
senderIsOwner: true,
|
||||
senderId: ctx.SenderId ?? "123",
|
||||
channel: String(ctx.Surface ?? "whatsapp"),
|
||||
channelId: String(ctx.Surface ?? "whatsapp"),
|
||||
surface: String(ctx.Surface ?? "whatsapp"),
|
||||
channel: ctx.Surface ?? "whatsapp",
|
||||
channelId: ctx.Surface ?? "whatsapp",
|
||||
surface: ctx.Surface ?? "whatsapp",
|
||||
ownerList: [],
|
||||
from: ctx.From ?? "sender",
|
||||
to: ctx.To ?? "bot",
|
||||
|
||||
Reference in New Issue
Block a user