async fn clone_automerge_doc( automerge_io: &SocketIo, ref_id: Uuid, doc_id: String, ) -> Result<NewDocSocketResponse, AppError>