Skip to content

Commit 66bbefe

Browse files
committed
Update indexing
1 parent 11bd3f6 commit 66bbefe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/app/src/discovery/engine.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ pub struct MeiliProfileDocument {
1919
avatar: Option<String>,
2020
header: Option<String>,
2121
display: String,
22+
description: Option<String>,
23+
bio: Option<String>,
2224
addresses: HashMap<String, String>,
2325
fresh: i64,
2426
}
@@ -31,6 +33,8 @@ impl From<&Profile> for MeiliProfileDocument {
3133
avatar: profile.avatar.clone(),
3234
header: profile.header.clone(),
3335
display: profile.display.clone(),
36+
description: profile.records.get("description").cloned(),
37+
bio: profile.records.get("bio").cloned(),
3438
addresses: profile.chains.iter().map(|(chain, address)| (chain.to_string(), address.to_string())).collect(),
3539
fresh: profile.fresh,
3640
}

0 commit comments

Comments
 (0)