We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8a3dbc commit 0997c64Copy full SHA for 0997c64
ceres/src/api_service/mono_api_service.rs
@@ -2844,10 +2844,12 @@ impl MonoApiService {
2844
.get_main_ref(&normalized_path)
2845
.await?
2846
.ok_or_else(|| MegaError::NotFound(format!("Path not found: {}", normalized_path)))?;
2847
+ // Use canonical path from mega_refs as the single source of truth for repository path
2848
+ let canonical_path = refs.path.clone();
2849
let response = self
2850
.storage
2851
.buck_service
- .create_session(username, &normalized_path, refs.ref_commit_hash)
2852
+ .create_session(username, &canonical_path, refs.ref_commit_hash)
2853
.await?;
2854
2855
Ok(response)
0 commit comments