Features/public biography endpoint (#316)

This commit is contained in:
Aaron Po
2026-09-26 19:51:10 -04:00
committed by GitHub
parent e1b6cba1d4
commit c5972b9f04
20 changed files with 158 additions and 104 deletions

View File

@@ -7,6 +7,7 @@ export interface PublicUserProfile {
username: string;
firstName: string;
lastName: string;
biography: string;
createdAt: string;
}
@@ -47,6 +48,7 @@ export const getPublicUserProfile = async (
username: string;
firstName: string;
lastName: string;
biography: string;
createdAt: string;
} = await res.json();
@@ -55,6 +57,7 @@ export const getPublicUserProfile = async (
username: account.username,
firstName: account.firstName,
lastName: account.lastName,
biography: account.biography,
createdAt: account.createdAt,
};
};