Skip to content

Commit 3cc6713

Browse files
authored
Merge pull request #370 from integer32llc/safety
Add defaults for all the people inappropriately using an internal API
2 parents 062e960 + 61166ba commit 3cc6713

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ struct CompileRequest {
525525
#[serde(rename = "crateType")]
526526
crate_type: String,
527527
tests: bool,
528+
#[serde(default)]
528529
backtrace: bool,
529530
code: String,
530531
}
@@ -546,6 +547,7 @@ struct ExecuteRequest {
546547
#[serde(rename = "crateType")]
547548
crate_type: String,
548549
tests: bool,
550+
#[serde(default)]
549551
backtrace: bool,
550552
code: String,
551553
}

0 commit comments

Comments
 (0)