chore(gateway): promote cache_api to just api

This commit is contained in:
alyssa 2025-05-24 12:24:59 +00:00
parent b5f18106e1
commit 05817afdba
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ use tracing::{error, info, warn};
use twilight_gateway::{MessageSender, ShardId};
use twilight_model::gateway::payload::outgoing::UpdatePresence;
mod cache_api;
mod api;
mod discord;
mod event_awaiter;
mod logger;
@ -189,7 +189,7 @@ async fn main() -> anyhow::Result<()> {
));
set.spawn(tokio::spawn(async move {
match cache_api::run_server(cache, shard_state, runtime_config, awaiter.clone()).await {
match api::run_server(cache, shard_state, runtime_config, awaiter.clone()).await {
Err(error) => {
error!(?error, "failed to serve cache api");
}