Skip to content

Commit

Permalink
fixed typescript media tojson
Browse files Browse the repository at this point in the history
  • Loading branch information
anish-palakurthi committed Jun 20, 2024
1 parent b150672 commit 165dd0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/language_client_typescript/src/types/audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl BamlAudio {
"base64": base64.base64,
"media_type": base64.media_type
}),
_ => format!("Unknown BamlAudioPy variant"),
_ => format!("Unknown BamlAudioPy variant").into(),
})
}
}
2 changes: 1 addition & 1 deletion engine/language_client_typescript/src/types/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl BamlImage {
"base64": base64.base64,
"media_type": base64.media_type
}),
_ => format!("Unknown BamlImagePy variant"),
_ => format!("Unknown BamlImagePy variant").into(),
})
}
}

0 comments on commit 165dd0a

Please sign in to comment.