Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
deowk committed Apr 23, 2024
2 parents 99666da + b2cb919 commit a28f01d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @aiblockofficial/core
6 changes: 5 additions & 1 deletion src/tests/interfaces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ impl KvStoreConnection for DbStub {
return Ok(None);
}

let data = self.data.clone().unwrap();
let data = match self.data.clone() {
Some(d) => d,
None => return Ok(None),

};

match get_de_data::<T>(data) {
Ok(d) => Ok(Some(d)),
Expand Down

0 comments on commit a28f01d

Please sign in to comment.