Skip to content

Commit 739606a

Browse files
committed
Export project permissions as list
1 parent 3cd534b commit 739606a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonar/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ def export(self, export_settings: types.ConfigSettings, settings_list: Optional[
10081008
json_data[settings.NEW_CODE_PERIOD] = nc
10091009
json_data["qualityProfiles"] = util.dict_to_list(self.__export_get_qp(), "language", "name")
10101010
json_data["links"] = self.links()
1011-
json_data["permissions"] = self.permissions().to_json(csv=export_settings.get("INLINE_LISTS", True))
1011+
json_data["permissions"] = util.perms_to_list(self.permissions().to_json(csv=export_settings.get("INLINE_LISTS", True)))
10121012
if self.endpoint.version() >= (10, 7, 0):
10131013
json_data["aiCodeFix"] = self.ai_code_fix()
10141014
json_data["branches"] = util.dict_to_list(self.__get_branch_export(export_settings), "name")

0 commit comments

Comments
 (0)