summaryrefslogtreecommitdiffstats
path: root/adenosine-cli/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-12-19 20:42:44 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-12-19 20:48:09 -0800
commit758462f8cb9737ea8fb175cb4674984cc30bbd51 (patch)
treeea29cfa1d46b5a9b3f06720599e7233e6c46ac65 /adenosine-cli/src
parent9043712d1f9c09bc530de3ffd8d87635a026d26c (diff)
downloadadenosine-758462f8cb9737ea8fb175cb4674984cc30bbd51.tar.gz
adenosine-758462f8cb9737ea8fb175cb4674984cc30bbd51.zip
getProfile now wants 'actor' not 'user'
Diffstat (limited to 'adenosine-cli/src')
-rw-r--r--adenosine-cli/src/bin/adenosine.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/adenosine-cli/src/bin/adenosine.rs b/adenosine-cli/src/bin/adenosine.rs
index 4c21170..21fdf31 100644
--- a/adenosine-cli/src/bin/adenosine.rs
+++ b/adenosine-cli/src/bin/adenosine.rs
@@ -602,7 +602,7 @@ fn run(opt: Opt) -> Result<()> {
.map(|v| v.to_string())
.or(jwt_did)
.ok_or(anyhow!("expected a name, or self via auth token"))?;
- params.insert("user".to_string(), name);
+ params.insert("actor".to_string(), name);
xrpc_client.get(&Nsid::from_str("app.bsky.actor.getProfile")?, Some(params))?
}
Command::Bsky {