fix v1 parity issue: local- removed from mod_id field (#283)

This commit is contained in:
Emma
2022-01-28 18:04:34 -05:00
committed by GitHub
parent 73a8c302e9
commit f3234a6b5e

View File

@@ -56,7 +56,7 @@ pub async fn mod_search(
.hits .hits
.into_iter() .into_iter()
.map(|x| ResultSearchMod { .map(|x| ResultSearchMod {
mod_id: x.project_id.clone(), mod_id: format!("local-{}", x.project_id.clone()),
slug: x.slug, slug: x.slug,
author: x.author.clone(), author: x.author.clone(),
title: x.title, title: x.title,