fixes capitalization issue; modifies existing test to check for it (#841)

This commit is contained in:
Wyatt Verchere
2024-01-09 12:42:17 -08:00
committed by GitHub
parent d51d6517be
commit 3464fbb2e8
4 changed files with 8 additions and 7 deletions

View File

@@ -97,7 +97,7 @@ pub async fn index_projects(
let id_chunk = id_chunk
.into_iter()
.map(|(version_id, project_id, owner_username)| {
(version_id, (project_id, owner_username.to_lowercase()))
(version_id, (project_id, owner_username))
})
.collect::<HashMap<_, _>>();
let uploads = index_local(&pool, &redis, id_chunk).await?;