Fix query errors in Db::share_project

This commit is contained in:
Antonio Scandurra 2022-11-14 10:53:11 +01:00
parent 9902211af1
commit 0310e27347
2 changed files with 9 additions and 5 deletions

View file

@ -849,7 +849,8 @@ impl Server {
RoomId::from_proto(request.payload.room_id),
&request.payload.worktrees,
)
.await?;
.await
.unwrap();
response.send(proto::ShareProjectResponse {
project_id: project_id.to_proto(),
})?;