Skip to content

Commit 9020115

Browse files
committed
Fix ontology version fetching
1 parent 4bf2f6a commit 9020115

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

broker/client.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ type ontologyDTO struct {
4141
}
4242

4343
type ontologySettingsDTO struct {
44-
OntologyVersion int32 `json:"version"`
44+
StructureVersion int32 `json:"version"`
45+
OntologyVersion int32 `json:"structureVersion"` // Yes, really.
4546
}
4647

4748
type ontologyAssetOrSpaceTemplateDTO struct {

0 commit comments

Comments
 (0)