Skip to content

Commit 3d0775e

Browse files
Copilothotlong
andcommitted
fix: prefix unused context param with underscore to fix TS6133 build error
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent a42a8d5 commit 3d0775e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/runtime/src/http-dispatcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ export class HttpDispatcher {
526526
* Handles Analytics requests
527527
* path: sub-path after /analytics/
528528
*/
529-
async handleAnalytics(path: string, method: string, body: any, context: HttpProtocolContext): Promise<HttpDispatcherResult> {
529+
async handleAnalytics(path: string, method: string, body: any, _context: HttpProtocolContext): Promise<HttpDispatcherResult> {
530530
const analyticsService = await this.getService(CoreServiceName.enum.analytics);
531531
if (!analyticsService) return { handled: false }; // 404 handled by caller if unhandled
532532

0 commit comments

Comments
 (0)