1
0
Fork 0
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:
Matthias Ahouansou 2024-07-11 13:15:45 +01:00
parent 613107e7cf
commit 3bf113d920
No known key found for this signature in database

View file

@ -72,7 +72,7 @@ impl Service {
let config = &services().globals.config.rate_limiting; 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(()); return Ok(());
}; };
// .unwrap_or(Limitation { // .unwrap_or(Limitation {