Skip to content

Commit 0b08f7a

Browse files
xixixaoConvex, Inc.
authored and
Convex, Inc.
committed
JS: Fix PublicHttpAction type (#26345)
GitOrigin-RevId: 692af27663c8b9887c36f265913668b793eb54cf
1 parent d394fb9 commit 0b08f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/registration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export type RegisteredAction<
350350
* @public
351351
*/
352352
export type PublicHttpAction = {
353-
(ctx: GenericActionCtx<any>, request: Request): Response;
353+
(ctx: GenericActionCtx<any>, request: Request): Promise<Response>;
354354
isHttp: true;
355355
isRegistered?: true;
356356

0 commit comments

Comments
 (0)