mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 08:57:54 +00:00
fix names of search fields
This commit is contained in:
1 parent
c01ffe33a5
commit
5949d1d4e7
1 file changed
+4
-4
+4
-4
@@ -36,8 +36,8 @@ pub struct SearchModelWeightsRequest {
|
||||
pub struct ModelWeightSearchResult {
|
||||
pub weight_token: ModelWeightToken,
|
||||
|
||||
pub weights_type: WeightsType,
|
||||
pub weights_category: WeightsCategory,
|
||||
pub weight_type: WeightsType,
|
||||
pub weight_category: WeightsCategory,
|
||||
|
||||
pub creator_set_visibility: Visibility,
|
||||
|
||||
@@ -142,8 +142,8 @@ pub async fn search_model_weights_handler(
|
||||
|
||||
ModelWeightSearchResult {
|
||||
weight_token: result.token,
|
||||
weights_type: result.weights_type,
|
||||
weights_category: result.weights_category,
|
||||
weight_type: result.weights_type,
|
||||
weight_category: result.weights_category,
|
||||
title: result.title,
|
||||
creator: UserDetailsLight::from_db_fields(
|
||||
&result.creator_user_token,
|
||||
|
||||
Reference in new issue
Block a user