fix: change username to name and add profile pic to staff

This commit is contained in:
ericprd
2025-03-03 10:39:01 +08:00
parent c02d8cda69
commit afe6f4e9a6
6 changed files with 37 additions and 27 deletions
+4 -3
View File
@@ -17,9 +17,10 @@ type LoginRepoResponse struct {
}
type StaffProfile struct {
ID string `json:"id"`
Email string `json:"email"`
Username string `json:"username"`
ID string `json:"id"`
Email string `json:"email"`
Name string `json:"name"`
ProfilePicture string `json:"profile_picture"`
}
type UserProfile struct {