From e8e446ce169c39ed082a04602d50f69328e751f9 Mon Sep 17 00:00:00 2001 From: eko Date: Thu, 27 Nov 2025 22:20:39 +0700 Subject: [PATCH] default action check --- pkgs/api/_deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/api/_deploy.ts b/pkgs/api/_deploy.ts index 726aa2c..5970adb 100644 --- a/pkgs/api/_deploy.ts +++ b/pkgs/api/_deploy.ts @@ -40,7 +40,7 @@ export const _ = { ); } - if(action.type == undefined) action.type = "check"; + if(!action) action = { type: "check" }; switch (action.type) { case "check":