You've already forked AstralRinth
forked from didirus/AstralRinth
Fix search
This commit is contained in:
@@ -162,9 +162,9 @@ pub async fn index_local(pool: PgPool) -> Result<Vec<UploadSearchMod>, IndexingE
|
||||
date_modified: mod_data.updated,
|
||||
modified_timestamp: mod_data.updated.timestamp(),
|
||||
latest_version,
|
||||
license: Some(license.short),
|
||||
client_side: Some(client_side.to_string()),
|
||||
server_side: Some(server_side.to_string()),
|
||||
license: license.short,
|
||||
client_side: client_side.to_string(),
|
||||
server_side: server_side.to_string(),
|
||||
host: Cow::Borrowed("modrinth"),
|
||||
slug: mod_data.slug,
|
||||
});
|
||||
@@ -311,9 +311,9 @@ pub async fn query_one(
|
||||
date_modified: mod_data.updated,
|
||||
modified_timestamp: mod_data.updated.timestamp(),
|
||||
latest_version,
|
||||
license: Some(license.short),
|
||||
client_side: Some(client_side.to_string()),
|
||||
server_side: Some(server_side.to_string()),
|
||||
license: license.short,
|
||||
client_side: client_side.to_string(),
|
||||
server_side: server_side.to_string(),
|
||||
host: Cow::Borrowed("modrinth"),
|
||||
slug: mod_data.slug,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user