Commonize and distinguish a lot of struct names in labrinth::database::models (#3691)

This commit is contained in:
Josiah Glosson
2025-05-24 04:38:43 -05:00
committed by GitHub
parent 9c1bdf16e4
commit 4e4a7be7ef
78 changed files with 1075 additions and 1009 deletions
@@ -258,8 +258,12 @@ pub async fn project_create(
Ok(project) => {
let version_item = match project.versions.first() {
Some(vid) => {
version_item::Version::get((*vid).into(), &**client, &redis)
.await?
version_item::DBVersion::get(
(*vid).into(),
&**client,
&redis,
)
.await?
}
None => None,
};