rbx_asset: rename LuauSessionLatestRequest

This commit is contained in:
2025-08-08 20:35:31 -07:00
parent 89d96db03c
commit 97086e351f
2 changed files with 4 additions and 4 deletions

View File

@@ -409,11 +409,11 @@ impl AsSessionPath for LuauSessionResponse{
&self.path
}
}
pub struct LuauSessionRequest{
pub struct LuauSessionLatestRequest{
pub universe_id:u64,
pub place_id:u64,
}
impl AsSessionPath for LuauSessionRequest{
impl AsSessionPath for LuauSessionLatestRequest{
fn into_session_path(&self)->impl AsRef<str>{
let universe_id=self.universe_id;
let place_id=self.place_id;

View File

@@ -767,7 +767,7 @@ async fn main()->AResult<()>{
Some(script)=>script,
None=>std::fs::read_to_string(subcommand.script_file.unwrap())?,
},
request:rbx_asset::cloud::LuauSessionRequest{
request:rbx_asset::cloud::LuauSessionLatestRequest{
place_id:subcommand.place_id,
universe_id:subcommand.universe_id,
},
@@ -1800,7 +1800,7 @@ async fn get_luau_result_exp_backoff(
struct RunLuauConfig{
api_key:ApiKey,
script:String,
request:rbx_asset::cloud::LuauSessionRequest,
request:rbx_asset::cloud::LuauSessionLatestRequest,
}
async fn run_luau(config:RunLuauConfig)->AResult<()>{
let context=CloudContext::new(config.api_key);