mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-23 13:24:54 +01:00
fix: send path received from server
This commit is contained in:
parent
d78362c745
commit
ed1ce45e7f
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ impl Workspace {
|
|||
|
||||
let (tx, rx) = mpsc::channel(10);
|
||||
let mut req = tonic::Request::new(tokio_stream::wrappers::ReceiverStream::new(rx));
|
||||
req.metadata_mut().insert("path", tonic::metadata::MetadataValue::try_from(path).expect("could not represent path as byte sequence"));
|
||||
req.metadata_mut().insert("path", tonic::metadata::MetadataValue::try_from(credentials.id.id).expect("could not represent path as byte sequence"));
|
||||
let stream = self.services.buffer.clone().attach(req).await?.into_inner();
|
||||
|
||||
let worker = BufferWorker::new(self.user_id, path);
|
||||
|
|
Loading…
Reference in a new issue