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

@ -64,7 +64,7 @@ pub async fn get(
let channel = Channel::fetch_one(&data, channel_uuid).await?;
Member::fetch_one(&mut conn, uuid, channel.guild_uuid).await?;
Member::check_membership(&mut conn, uuid, channel.guild_uuid).await?;
let messages = channel
.fetch_messages(&data, message_request.amount, message_request.offset)