mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-06-27 16:35:59 +00:00
don't take ownership of limitation
This commit is contained in:
parent
613107e7cf
commit
3bf113d920
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ impl Service {
|
|||
|
||||
let config = &services().globals.config.rate_limiting;
|
||||
|
||||
let Some(limit) = config.get(&restriction).map(ToOwned::to_owned) else {
|
||||
let Some(limit) = config.get(&restriction) else {
|
||||
return Ok(());
|
||||
};
|
||||
// .unwrap_or(Limitation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue