Skip to content
Snippets Groups Projects
Commit 5c4d147c authored by Xiao Gui's avatar Xiao Gui
Browse files

hotfix: region detail endpoint

parent 86f377de
No related branches found
No related tags found
No related merge requests found
# v2.7.1
## Bugfix
- fixed region detail fetching using duplicated id as endpoint
...@@ -33,6 +33,7 @@ nav: ...@@ -33,6 +33,7 @@ nav:
- Fetching datasets: 'advanced/datasets.md' - Fetching datasets: 'advanced/datasets.md'
- Display non-atlas volumes: 'advanced/otherVolumes.md' - Display non-atlas volumes: 'advanced/otherVolumes.md'
- Release notes: - Release notes:
- v2.7.1: 'releases/v2.7.1.md'
- v2.7.0: 'releases/v2.7.0.md' - v2.7.0: 'releases/v2.7.0.md'
- v2.6.10: 'releases/v2.6.10.md' - v2.6.10: 'releases/v2.6.10.md'
- v2.6.9: 'releases/v2.6.9.md' - v2.6.9: 'releases/v2.6.9.md'
......
{ {
"name": "interactive-viewer", "name": "interactive-viewer",
"version": "2.7.0", "version": "2.7.1",
"description": "siibra-explorer - explore brain atlases. Based on humanbrainproject/nehuba & google/neuroglancer. Built with angular", "description": "siibra-explorer - explore brain atlases. Based on humanbrainproject/nehuba & google/neuroglancer. Built with angular",
"scripts": { "scripts": {
"lint": "eslint src --ext .ts", "lint": "eslint src --ext .ts",
......
...@@ -94,7 +94,7 @@ export class SAPIRegion{ ...@@ -94,7 +94,7 @@ export class SAPIRegion{
} }
getDetail(spaceId: string): Observable<SapiRegionModel> { getDetail(spaceId: string): Observable<SapiRegionModel> {
const url = `${this.prefix}/${encodeURIComponent(this.id)}` const url = `${this.prefix}`
return this.sapi.httpGet<SapiRegionModel>( return this.sapi.httpGet<SapiRegionModel>(
url, url,
{ {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment