Skip to content

Commit

Permalink
fix: fix broken links (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Selflocking authored Aug 8, 2023
1 parent aae32bd commit 483325f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casbin_adapter/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _create_policy_line(self, ptype, rule):

def save_policy(self, model):
"""saves all policy rules to the storage."""
# See https://casbin.org/docs/en/adapters#autosave
# See https://casbin.org/docs/adapters/#autosave
# for why this is deleting all rules
CasbinRule.objects.using(self.db_alias).all().delete()

Expand Down

0 comments on commit 483325f

Please sign in to comment.