feat: return project-relative workspace mapping in query responses
This commit is contained in:
@@ -57,7 +57,7 @@ class QueryService:
|
||||
return QueryResponse(
|
||||
ok=True,
|
||||
branch=sync_meta.branch,
|
||||
resolved_workspace=str(sync_meta.workspace_path),
|
||||
resolved_workspace=sync_meta.workspace_relative_path,
|
||||
commit_hash=sync_meta.commit_hash,
|
||||
synced_at=sync_meta.synced_at,
|
||||
query_type=request.query_type,
|
||||
@@ -90,7 +90,7 @@ class QueryService:
|
||||
return SyncResponse(
|
||||
ok=True,
|
||||
branch=sync_meta.branch,
|
||||
resolved_workspace=str(sync_meta.workspace_path),
|
||||
resolved_workspace=sync_meta.workspace_relative_path,
|
||||
commit_hash=sync_meta.commit_hash,
|
||||
synced_at=sync_meta.synced_at,
|
||||
qmd_collection=sync_meta.qmd_collection,
|
||||
|
||||
Reference in New Issue
Block a user