Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Nov 21, 2023
1 parent e39bbb4 commit a7a18f0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/gateway/resolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl UnresolvedQuery<'_> {

info!("Resolving text record: {:?}", hash);

let x = state.db.get_records(&hash, &["avatar"]).await;
let x = state.db.get_records(&hash, &[record]).await;
info!("Resolving text recordz: {:?}", x);

// state
Expand All @@ -43,8 +43,9 @@ impl UnresolvedQuery<'_> {

// info!("Resolving text record: {:?}", str);

// state.db.get_records(node, records)
vec![Token::String("Hello".to_string())]
let value = x.get(record).to_owned().unwrap().clone().unwrap();

vec![Token::String(value)]
}
_ => Vec::new(),
};
Expand Down

0 comments on commit a7a18f0

Please sign in to comment.