Skip to content

Commit 09d3163

Browse files
fix(rules): also fix read_rule
1 parent 3075397 commit 09d3163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algoliasearch/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ def read_rule(self, objectID):
10831083
Retrieve a rule from the index with the specified objectID.
10841084
@param objectID The objectID of the rule to retrieve
10851085
"""
1086-
return self._req(False, '/rules/%s' % str(objectID), 'GET')
1086+
return self._req(True, '/rules/%s' % str(objectID), 'GET')
10871087

10881088
def delete_rule(self, objectID, forward_to_replicas=False):
10891089
"""

0 commit comments

Comments
 (0)