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":