Fix src block value.
Some checks failed
clippy Build clippy has failed
rust-foreign-document-test Build rust-foreign-document-test has succeeded
rust-build Build rust-build has failed
rust-test Build rust-test has succeeded

This commit is contained in:
Tom Alexander 2023-12-30 21:30:08 -05:00
parent dc0338e978
commit 680b176501
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -74,7 +74,7 @@ to_wasm!(
WasmSrcBlock {
additional_properties,
language: original.language.map(|s| s.to_owned()),
value: original.value.to_owned(),
value: original.get_value().into_owned(),
switches: original.switches.map(|s| s.to_owned()),
parameters: original.parameters.map(|s| s.to_owned()),
number_lines: match original.number_lines {