fix: cast sendMessage result type for strict TypeScript
All checks were successful
continuous-integration/drone/push Build is passing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
admin
2026-03-22 14:20:16 +01:00
parent ccf6f9000d
commit e2dd3bb9d0

View File

@@ -189,8 +189,8 @@ async function waitForSendConfirmation(
}), }),
"sendMessage:copyToUser" "sendMessage:copyToUser"
) )
.then((result: { id: number }) => { .then((result) => {
tempMsgId = result.id; tempMsgId = (result as { id: number }).id;
log.debug({ tempMsgId, label }, "Message queued, waiting for confirmation"); log.debug({ tempMsgId, label }, "Message queued, waiting for confirmation");
}) })
.catch((err: Error) => { .catch((err: Error) => {