Update main.rs

Co-authored-by: Mike Nguyen <hey@mike.ee>
Signed-off-by: Zachary K Edgell <zacharyedgell@gmail.com>
This commit is contained in:
Zachary K Edgell 2024-03-25 13:59:38 -04:00 committed by GitHub
parent fb1d6b3018
commit 034da1d5cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let encrypted = client
.encrypt(
ReaderStream::new(image),
EncryptRequestOptions {
dapr::client::EncryptRequestOptions {
component_name: "localstorage".to_string(),
key_name: "rsa-private-key.pem".to_string(),
key_wrap_algorithm: "RSA".to_string(),