refactor(#2302): type socket wire fields as ident, validated by serde on deserialize
This commit is contained in:
parent
bf644cc126
commit
84b750fba5
33 changed files with 333 additions and 263 deletions
|
|
@ -39,7 +39,7 @@ pub(crate) async fn github_set_token(
|
|||
daemon_request(
|
||||
socket,
|
||||
hive_host_sock::HostRequest::SetAgentGithubToken {
|
||||
agent: agent.to_owned(),
|
||||
agent: crate::util::parse_ident(agent)?,
|
||||
token,
|
||||
},
|
||||
"github",
|
||||
|
|
|
|||
Loading…
Reference in a new issue