Function get_avatar

Source
pub async fn get_avatar(
    __arg0: State<AppState>,
    __arg1: Path<i64>,
) -> impl IntoResponse
Expand description

GET /api/users/{user_id}/avatar

Returns the avatar image file for a user if it exists.