feat: adding/removing users from list now works by email
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user