Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sandromodarelli committed Nov 27, 2019
1 parent facc31a commit d21a83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pystackpath/stacks/wafsites/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def index(self, first="", after="", filter="", sort_by=""):
response = self._client.get(f"{self._base_api}/rules",
params=pagination)
response.raise_for_status()
items = [self.loaddict(item) for item in response.json()["results"]]
items = [self.loaddict(item) for item in response.json()["rules"]]
pageinfo = PageInfo(**response.json()["pageInfo"])

return {"results": items, "pageinfo": pageinfo}
Expand Down

0 comments on commit d21a83c

Please sign in to comment.