feat: adding/removing users from list now works by email

This commit is contained in:
2026-08-21 20:51:23 +02:00
parent eb45deda18
commit 3c5c8a7fe7
5 changed files with 43 additions and 11 deletions
+2 -2
View File
@@ -7,12 +7,12 @@ type CreateListPayload struct {
type AddUserToListPayload struct {
ListID string `json:"list_id"`
UserID string `json:"user_id"`
Email string `json:"email"`
}
type RemoveUserFromListPayload struct {
ListID string `json:"list_id"`
UserID string `json:"user_id"`
Email string `json:"email"`
}
type CreateListItemPayload struct {