mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Fix typos in models/ and modules/ (#1248)
This commit is contained in:
		@@ -43,7 +43,7 @@ func (ctx *APIContext) Error(status int, title string, obj interface{}) {
 | 
			
		||||
	})
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// SetLinkHeader sets pagination link header by given totol number and page size.
 | 
			
		||||
// SetLinkHeader sets pagination link header by given total number and page size.
 | 
			
		||||
func (ctx *APIContext) SetLinkHeader(total, pageSize int) {
 | 
			
		||||
	page := paginater.New(total, pageSize, ctx.QueryInt("page"), 0)
 | 
			
		||||
	links := make([]string, 0, 4)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user