feat: added db transactions abstraction; cleaned up user registration; repos adapted new abstraction: all repos now support transactions, if present in ctx
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
package request
|
||||
|
||||
type CreateListPayload struct {
|
||||
Name string `json:"name"`
|
||||
UserIDs []string `json:"user_ids"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type AddUserToListPayload struct {
|
||||
|
||||
Reference in New Issue
Block a user