Skip to content

Commit

Permalink
Update prefilterrules.py -Fix insert before/after bug
Browse files Browse the repository at this point in the history
Suspected Copy/Pasta issue from implementation in accessrules.py.  Bug fix for invalid url issues/ insert at wrong index in prefilter policies.
  • Loading branch information
mcclem authored Apr 10, 2024
1 parent e001609 commit 0595dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmcapi/api_objects/policy_services/prefilterrules.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def URL_SUFFIX(self):
elif "insertAfter" in self.__dict__:
url = f"{url}insertAfter={self.insertAfter}"

return url[:-1]
return url

def parse_kwargs(self, **kwargs):
"""
Expand Down

0 comments on commit 0595dd1

Please sign in to comment.