Skip to content

Commit

Permalink
Revert so that can push
Browse files Browse the repository at this point in the history
  • Loading branch information
expede committed Mar 21, 2024
1 parent deee2bc commit 93cce69
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/invocation/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ where
&self,
audience: Option<DID>,
subject: DID,
command: String,
// command: String,
ability: T,
metadata: BTreeMap<String, Ipld>,
cause: Option<Cid>,
Expand All @@ -99,13 +99,7 @@ where
) -> Result<Invocation<T, DID, V, C>, InvokeError<D::DelegationStoreError>> {
let proofs = self
.delegation_store
.get_chain(
&self.did,
&Some(subject.clone()),
command.into(),
vec![],
now,
) // FIXME
.get_chain(&self.did, &Some(subject.clone()), "/".into(), vec![], now) // FIXME
.map_err(InvokeError::DelegationStoreError)?
.map(|chain| chain.map(|(cid, _)| cid).into())
.unwrap_or(vec![]);
Expand Down

0 comments on commit 93cce69

Please sign in to comment.