feat: Remove email field from user details response and enhance frontend user display

This commit is contained in:
Sean Morley
2025-02-01 15:10:25 -05:00
parent c1807826d0
commit 7d71c84fd2
8 changed files with 55 additions and 411 deletions

View File

@@ -1,7 +1,6 @@
export type User = {
pk: number;
username: string;
email: string | null;
first_name: string | null;
last_name: string | null;
date_joined: string | null;
@@ -41,6 +40,7 @@ export type Adventure = {
is_visited?: boolean;
category: Category | null;
attachments: Attachment[];
user: User
};
export type Country = {