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

This commit is contained in:
Wyatt Verchere authored and GitHub committed 2024-01-09 15:42:17 -05:00
1 parent d51d6517be
commit 3464fbb2e8
4 files changed
+8 -7

No files matched your search

+1 -1
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?;