mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 17:01:53 +03:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -68,8 +68,8 @@ export async function startTelegramWebhook(opts: {
|
||||
logWebhookReceived({ channel: "telegram", updateType: "telegram-post" });
|
||||
}
|
||||
const handled = handler(req, res);
|
||||
if (handled && typeof (handled as Promise<void>).catch === "function") {
|
||||
void (handled as Promise<void>)
|
||||
if (handled && typeof handled.catch === "function") {
|
||||
void handled
|
||||
.then(() => {
|
||||
if (diagnosticsEnabled) {
|
||||
logWebhookProcessed({
|
||||
|
||||
Reference in New Issue
Block a user