From 8546efd572b75c2c566ca2792938070cc8580f77 Mon Sep 17 00:00:00 2001 From: fetch Date: Thu, 7 Aug 2025 16:57:01 -0400 Subject: [PATCH] Add `tags` field to Archon /create request --- apps/labrinth/src/routes/internal/billing.rs | 1 + apps/labrinth/src/util/archon.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/labrinth/src/routes/internal/billing.rs b/apps/labrinth/src/routes/internal/billing.rs index b07821b76..c555fef81 100644 --- a/apps/labrinth/src/routes/internal/billing.rs +++ b/apps/labrinth/src/routes/internal/billing.rs @@ -2541,6 +2541,7 @@ pub async fn try_process_user_redeemal( }, source: crate::util::archon::Empty::default(), region, + tags: vec!["medal".to_owned()], }) .await?; diff --git a/apps/labrinth/src/util/archon.rs b/apps/labrinth/src/util/archon.rs index ac10817d8..471faa7b2 100644 --- a/apps/labrinth/src/util/archon.rs +++ b/apps/labrinth/src/util/archon.rs @@ -26,6 +26,7 @@ pub struct CreateServerRequest { // an empty struct, as a source. pub source: Empty, pub region: String, + pub tags: Vec, } #[derive(Clone)]