Skip to content

Commit 71d6f11

Browse files
committed
fixup! editoast: avoid psql queries when full hit cache
1 parent c791088 commit 71d6f11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editoast/src/views/path/path_item_cache.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl PathItemCache {
3838
infra_id: i64,
3939
path_items: &[&PathItemLocation],
4040
) -> Result<PathItemCache> {
41-
if path_items.is_empty() {
41+
if path_items.is_empty() {
4242
return Ok(PathItemCache::default());
4343
}
4444

0 commit comments

Comments
 (0)