Skip to content

Commit

Permalink
fix: fix typo in RBACWithDomainsAPI.mdx (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
leo220yuyaodog authored Jul 31, 2023
1 parent 5ea9f9c commit 50165dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/RBACWithDomainsAPI.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ res, _ := e.GetAllDomains()

:::note

If you are handling a domain like ```name::domain```, it may lead to unexpected behavior. In Casbin, ```::``` is a reversed keyword, just like ```for```, ```if``` in a programming language, we should never put ```::``` in a domain.
If you are handling a domain like ```name::domain```, it may lead to unexpected behavior. In Casbin, ```::``` is a reserved keyword, just like ```for```, ```if``` in a programming language, we should never put ```::``` in a domain.

:::

Expand Down

0 comments on commit 50165dd

Please sign in to comment.