gitea source for verification 2026-05-22
This commit is contained in:
10
modules/structs/org_member.go
Normal file
10
modules/structs/org_member.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// Copyright 2016 The Gogs Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package structs
|
||||
|
||||
// AddOrgMembershipOption add user to organization options
|
||||
type AddOrgMembershipOption struct {
|
||||
// Role is the role to assign to the organization member
|
||||
Role string `json:"role" binding:"Required"`
|
||||
}
|
||||
Reference in New Issue
Block a user