You've already forked AstralRinth
forked from didirus/AstralRinth
Commonize and distinguish a lot of struct names in labrinth::database::models (#3691)
This commit is contained in:
@@ -130,7 +130,7 @@ pub async fn page_view_ingest(
|
||||
];
|
||||
|
||||
if PROJECT_TYPES.contains(&segments_vec[0]) {
|
||||
let project = crate::database::models::Project::get(
|
||||
let project = crate::database::models::DBProject::get(
|
||||
segments_vec[1],
|
||||
&**pool,
|
||||
&redis,
|
||||
@@ -189,7 +189,7 @@ pub async fn playtime_ingest(
|
||||
));
|
||||
}
|
||||
|
||||
let versions = crate::database::models::Version::get_many(
|
||||
let versions = crate::database::models::DBVersion::get_many(
|
||||
&playtimes.iter().map(|x| (*x.0).into()).collect::<Vec<_>>(),
|
||||
&**pool,
|
||||
&redis,
|
||||
|
||||
Reference in New Issue
Block a user