Fix swapped name/org in Cargo API endpoints
Diff
chartered-web/src/endpoints/cargo_api/download.rs | 2 +-
chartered-web/src/endpoints/cargo_api/yank.rs | 4 +++-
2 files changed, 3 insertions(+), 3 deletions(-)
@@ -29,7 +29,7 @@
define_error_response!(Error);
pub async fn handle(
extract::Path((_session_key, name, organisation, version)): extract::Path<(
extract::Path((_session_key, organisation, name, version)): extract::Path<(
String,
String,
String,
@@ -26,7 +26,7 @@
}
pub async fn handle_yank(
extract::Path((_session_key, name, organisation, version)): extract::Path<(
extract::Path((_session_key, organisation, name, version)): extract::Path<(
String,
String,
String,
@@ -46,7 +46,7 @@
}
pub async fn handle_unyank(
extract::Path((_session_key, name, organisation, version)): extract::Path<(
extract::Path((_session_key, organisation, name, version)): extract::Path<(
String,
String,
String,