ch users <-> branches
This commit is contained in:
1 parent
d3e188affe
commit
0971158e98
9 files changed
+43
-18
No files matched your search
@@ -33,7 +33,7 @@ func (h *handler) Register(router *gin.RouterGroup) {
|
||||
|
||||
// create godoc
|
||||
// @Summary Assign user to branch
|
||||
// @Description Creates a branch-user assignment, or updates the user's existing branch if one is already assigned
|
||||
// @Description Assigns a user to a branch. Users and branches are many-to-many: a user keeps their other branch assignments, and re-assigning the same pair is a no-op.
|
||||
// @Tags branch-users
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
|
||||
Reference in new issue
Block a user