summaryrefslogtreecommitdiffstats
path: root/adenosine-cli/src/bin/adenosine.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-04 19:22:03 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-11-04 19:22:03 -0700
commit0aa684b2bd048adbc02cc82cc2f61ff556efda2d (patch)
tree18e8309f28d2e50b3386c5aa9a2e53f24d56b3e4 /adenosine-cli/src/bin/adenosine.rs
parent05495ede3e4defac165a1f536dfe6d62fc181557 (diff)
downloadadenosine-0aa684b2bd048adbc02cc82cc2f61ff556efda2d.tar.gz
adenosine-0aa684b2bd048adbc02cc82cc2f61ff556efda2d.zip
pds: fix 'put' (not 'Update')
Diffstat (limited to 'adenosine-cli/src/bin/adenosine.rs')
-rw-r--r--adenosine-cli/src/bin/adenosine.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/adenosine-cli/src/bin/adenosine.rs b/adenosine-cli/src/bin/adenosine.rs
index f2200ae..827101d 100644
--- a/adenosine-cli/src/bin/adenosine.rs
+++ b/adenosine-cli/src/bin/adenosine.rs
@@ -364,6 +364,7 @@ fn run(opt: Opt) -> Result<()> {
}
Command::Update { uri, fields } => {
params.insert("did".to_string(), uri.repository.to_string());
+ params.insert("user".to_string(), uri.repository.to_string());
params.insert(
"collection".to_string(),
uri.collection.ok_or(anyhow!("collection required"))?,