mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-05-10 22:01:16 +00:00
fix: cast sendMessage result type for strict TypeScript
All checks were successful
continuous-integration/drone/push Build is passing
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:
@@ -189,8 +189,8 @@ async function waitForSendConfirmation(
|
||||
}),
|
||||
"sendMessage:copyToUser"
|
||||
)
|
||||
.then((result: { id: number }) => {
|
||||
tempMsgId = result.id;
|
||||
.then((result) => {
|
||||
tempMsgId = (result as { id: number }).id;
|
||||
log.debug({ tempMsgId, label }, "Message queued, waiting for confirmation");
|
||||
})
|
||||
.catch((err: Error) => {
|
||||
|
||||
Reference in New Issue
Block a user