Skip to content

Commit 5a98fa8

Browse files
committed
fix typo
1 parent 9fbf9dc commit 5a98fa8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/content/doc/advanced/config-cheat-sheet.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
113113

114114
- `EXPLORE_PAGING_NUM`: **20**: Number of repositories that are shown in one explore page.
115115
- `ISSUE_PAGING_NUM`: **10**: Number of issues that are shown in one page (for all pages that list issues).
116-
- `MEMBERS_PAGING_NUM`: **20**: Number of members that are shown in orgnization members.
116+
- `MEMBERS_PAGING_NUM`: **20**: Number of members that are shown in organization members.
117117
- `FEED_MAX_COMMIT_NUM`: **5**: Number of maximum commits shown in one activity feed.
118118
- `GRAPH_MAX_COMMIT_NUM`: **100**: Number of maximum commits shown in the commit graph.
119119
- `DEFAULT_THEME`: **gitea**: \[gitea, arc-green\]: Set the default theme for the Gitea install.

models/org.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ func (org *User) GetMembers() (err error) {
7575
return
7676
}
7777

78-
// FindOrgMembersOpts reprensts find org members condtions
78+
// FindOrgMembersOpts represensts find org members condtions
7979
type FindOrgMembersOpts struct {
8080
OrgID int64
8181
PublicOnly bool
8282
Start int
8383
Limit int
8484
}
8585

86-
// CountOrgMembers counts the orgnization's members
86+
// CountOrgMembers counts the organization's members
8787
func CountOrgMembers(opts FindOrgMembersOpts) (int64, error) {
8888
sess := x.Where("org_id=?", opts.OrgID)
8989
if opts.PublicOnly {
@@ -92,7 +92,7 @@ func CountOrgMembers(opts FindOrgMembersOpts) (int64, error) {
9292
return sess.Count(new(OrgUser))
9393
}
9494

95-
// FindOrgMembers loads orgnization members according conditions
95+
// FindOrgMembers loads organization members according conditions
9696
func FindOrgMembers(opts FindOrgMembersOpts) (UserList, map[int64]bool, error) {
9797
ous, err := GetOrgUsersByOrgID(opts.OrgID, opts.PublicOnly, opts.Start, opts.Limit)
9898
if err != nil {

0 commit comments

Comments
 (0)