Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Aug 3, 2023
1 parent d3a9d4c commit a81feaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ic-agent/src/agent/response_authentication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub(crate) fn lookup_request_status<Storage: AsRef<[u8]>>(
];
match certificate.tree.lookup_path(&path_status) {
LookupResult::Absent => Ok(RequestStatusResponse::Unknown),
LookupResult::Unknown => Err(LookupPathUnknown(path_status)),
LookupResult::Unknown => Err(LookupPathUnknown(path_status.to_vec())),
LookupResult::Found(status) => match from_utf8(status)? {
"done" => Ok(RequestStatusResponse::Done),
"processing" => Ok(RequestStatusResponse::Processing),
Expand Down

0 comments on commit a81feaf

Please sign in to comment.