Update POST me/friend endpoint to take username instead of UUID #31

Merged
radical merged 4 commits from friends-endpoint-username into main 2025-07-13 14:22:32 +00:00
Showing only changes of commit b87adf896f - Show all commits

View file

@ -4,7 +4,11 @@ use serde::Deserialize;
pub mod uuid;
use crate::{
api::v1::auth::check_access_token, error::Error, objects::Me, utils::{get_auth_header, global_checks, user_uuid_from_identifier}, Data
Data,
api::v1::auth::check_access_token,
error::Error,
objects::Me,
utils::{get_auth_header, global_checks, user_uuid_from_identifier},
};
/// Returns a list of users that are your friends