Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sesi200 committed Jan 14, 2025
1 parent 516c3cf commit 753c388
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion service/pool/Main.mo
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,14 @@ shared (creator) actor class Self(opt_params : ?Types.InitParams) = this {
};
};
};
let mode = Option.get(args.mode, default_mode);
let mode = switch (args) {
case (?args) {
Option.get(args.mode, default_mode);
};
case (null) {
default_mode;
};
};
switch (args) {
case (?args) {
let wasm = if (Option.get(args.bypass_wasm_transform, false)) {
Expand Down

0 comments on commit 753c388

Please sign in to comment.