Skip to content

Commit c33f6cf

Browse files
fix 'string' typo (#930)
Both 'branch_type' and 'branch_match_kind' contained a typo adding 'string' which prevented them from working as intended.
1 parent 523057c commit c33f6cf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

atlassian/bitbucket/cloud/repositories/branchRestrictions.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,14 @@ def kind(self):
145145
return self.get_data("kind")
146146

147147
@property
148-
def branch_match_kindstring(self):
149-
"""The branch restriction match kindstring"""
150-
return self.get_data("branch_match_kindstring")
148+
def branch_match_kind(self):
149+
"""The branch restriction match kind"""
150+
return self.get_data("branch_match_kind")
151151

152152
@property
153-
def branch_typestring(self):
154-
"""The branch restriction typestring"""
155-
return self.get_data("branch_typestring")
153+
def branch_type(self):
154+
"""The branch restriction type"""
155+
return self.get_data("branch_type")
156156

157157
@property
158158
def pattern(self):

0 commit comments

Comments
 (0)