From ec414a0f425d5eb9c8f43a7521fa83a70aae3637 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Sun, 15 Dec 2024 01:54:05 -0800 Subject: [PATCH] submissions-api: v0.2.2 wrong url in action_submission_uploaded --- submissions-api-rs/Cargo.lock | 2 +- submissions-api-rs/Cargo.toml | 2 +- submissions-api-rs/src/internal.rs | 2 +- validation/Cargo.lock | 4 ++-- validation/Cargo.toml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/submissions-api-rs/Cargo.lock b/submissions-api-rs/Cargo.lock index d8ae73c..2da9616 100644 --- a/submissions-api-rs/Cargo.lock +++ b/submissions-api-rs/Cargo.lock @@ -952,7 +952,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "submissions-api" -version = "0.2.1" +version = "0.2.2" dependencies = [ "reqwest", "serde", diff --git a/submissions-api-rs/Cargo.toml b/submissions-api-rs/Cargo.toml index 40b9e87..5d9457b 100644 --- a/submissions-api-rs/Cargo.toml +++ b/submissions-api-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "submissions-api" -version = "0.2.1" +version = "0.2.2" edition = "2021" publish = ["strafesnet"] repository = "https://git.itzana.me/StrafesNET/maps-service" diff --git a/submissions-api-rs/src/internal.rs b/submissions-api-rs/src/internal.rs index 532e631..7ed3c9d 100644 --- a/submissions-api-rs/src/internal.rs +++ b/submissions-api-rs/src/internal.rs @@ -30,7 +30,7 @@ impl Context{ Ok(Self(crate::context::Context::new(base_url)?)) } pub async fn action_submission_uploaded(&self,config:ActionSubmissionUploadedRequest)->Result<(),Error>{ - let url_raw=format!("{}/submissions/{}/status/uploaded",self.0.base_url,config.SubmissionID); + let url_raw=format!("{}/submissions/{}/status/validator-uploaded",self.0.base_url,config.SubmissionID); let mut url=reqwest::Url::parse(url_raw.as_str()).map_err(Error::ParseError)?; if let Some(target_asset_id)=config.TargetAssetID{ diff --git a/validation/Cargo.lock b/validation/Cargo.lock index 7ddac92..e2e057f 100644 --- a/validation/Cargo.lock +++ b/validation/Cargo.lock @@ -1804,9 +1804,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "submissions-api" -version = "0.2.1" +version = "0.2.2" source = "sparse+https://git.itzana.me/api/packages/strafesnet/cargo/" -checksum = "b19f7aa92e0680fe206048851ca21761be56de415a5071f37c368c045a95f839" +checksum = "e7a29fd61d2421c5c1a2923465a611aa84177a0f312fc11d81e4298bfee4aeea" dependencies = [ "reqwest", "serde", diff --git a/validation/Cargo.toml b/validation/Cargo.toml index 735ad79..5f2cd74 100644 --- a/validation/Cargo.toml +++ b/validation/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -submissions-api = { version = "0.2.1", features = ["internal","external"], registry = "strafesnet" } +submissions-api = { version = "0.2.2", features = ["internal","external"], registry = "strafesnet" } async-nats = "0.38.0" futures = "0.3.31" rbx_asset = { version = "0.2.5", registry = "strafesnet" }