Skip to content

Commit b6914fa

Browse files
committed
reload instead of update sq_json
1 parent 31347b3 commit b6914fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonar/components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def get_navigation_data(self) -> types.ApiPayload:
213213
"""Returns a component navigation data"""
214214
params = utilities.replace_keys(measures.ALT_COMPONENTS, "component", self.api_params(c.GET))
215215
data = json.loads(self.get("navigation/component", params=params).text)
216-
self.sq_json.update(data)
216+
super().reload(data)
217217
return data
218218

219219
def refresh(self) -> Component:

0 commit comments

Comments
 (0)