diff --git a/extensions/googlechat/src/monitor.ts b/extensions/googlechat/src/monitor.ts index b43dba6dace..e8577f248cb 100644 --- a/extensions/googlechat/src/monitor.ts +++ b/extensions/googlechat/src/monitor.ts @@ -7,7 +7,6 @@ import { readJsonBodyWithLimit, registerPluginHttpRoute, registerWebhookTarget, - registerPluginHttpRoute, rejectNonPostWebhookRequest, isDangerousNameMatchingEnabled, resolveAllowlistProviderRuntimeGroupPolicy, diff --git a/extensions/phone-control/index.test.ts b/extensions/phone-control/index.test.ts index 480d1390452..4711400c700 100644 --- a/extensions/phone-control/index.test.ts +++ b/extensions/phone-control/index.test.ts @@ -33,7 +33,6 @@ function createApi(params: { logger: { info() {}, warn() {}, error() {} }, registerTool() {}, registerHook() {}, - registerHttpHandler() {}, registerHttpRoute() {}, registerChannel() {}, registerGatewayMethod() {}, diff --git a/src/gateway/server-http.test-harness.ts b/src/gateway/server-http.test-harness.ts index 09c7510b8d1..bf963487038 100644 --- a/src/gateway/server-http.test-harness.ts +++ b/src/gateway/server-http.test-harness.ts @@ -128,7 +128,7 @@ export async function sendRequest( authorization?: string; method?: string; }, -) { +): Promise> { const response = createResponse(); await dispatchRequest(server, createRequest(params), response.res); return response;