forked from StrafesNET/asset-tool
typo
This commit is contained in:
parent
6111ebd0fe
commit
74b84f6de0
@ -522,7 +522,7 @@ async fn cookie_from_args(literal:Option<String>,environment:Option<String>,file
|
||||
(Some(cookie_literal),None,None)=>cookie_literal,
|
||||
(None,Some(cookie_environment),None)=>std::env::var(cookie_environment)?,
|
||||
(None,None,Some(cookie_file))=>tokio::fs::read_to_string(cookie_file).await?,
|
||||
_=>Err(anyhow::Error::msg("Illegal api key argument triple"))?,
|
||||
_=>Err(anyhow::Error::msg("Illegal cookie argument triple"))?,
|
||||
};
|
||||
Ok(Cookie::new(format!(".ROBLOSECURITY={cookie}")))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user