Skip to content

Commit

Permalink
Fix incorrect documentation for breach callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Feb 15, 2025
1 parent 5b7c1fe commit 76eaccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ take priority.
Default to ``True``
* - .. data:: RATELIMIT_ON_BREACH_CALLBACK

Constructor argument: :paramref:`~flask_limiter.Limiter.on_breach_callback`
Constructor argument: :paramref:`~flask_limiter.Limiter.on_breach`

- A function that will be called when any limit in this
extension is breached.
Expand All @@ -210,7 +210,7 @@ take priority.
:class:`~flask_limiter.RateLimitExceeded` for the duration of the meta limit window.
* - .. data:: RATELIMIT_ON_META_BREACH_CALLBACK

Constructor argument: :paramref:`~flask_limiter.Limiter.on_meta_breach_callback`
Constructor argument: :paramref:`~flask_limiter.Limiter.on_meta_breach`

- A function that will be called when a meta limit in this
extension is breached.
Expand Down

0 comments on commit 76eaccf

Please sign in to comment.