feat: add /guilds/{uuid}members

Also makes it return user object with the query
This commit is contained in:
Radical 2025-05-30 21:12:07 +02:00
parent 746285e0fb
commit c9a3e8c6c4
13 changed files with 141 additions and 42 deletions

View file

@ -22,7 +22,7 @@ pub async fn get(
global_checks(&data, uuid).await?;
Member::fetch_one(&mut conn, uuid, guild_uuid).await?;
Member::check_membership(&mut conn, uuid, guild_uuid).await?;
if let Ok(cache_hit) = data.get_cache_key(format!("{}", role_uuid)).await {
return Ok(HttpResponse::Ok()