mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
chore: fix typos throughout the codebase (#10753)
This PR fixes a number of typos throughout the entire repository. Running https://github.com/crate-ci/typos and then changing all occurrences that I naively deemed "safe enough". Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10753 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Christoph Mewes <christoph@kubermatic.com> Co-committed-by: Christoph Mewes <christoph@kubermatic.com>
This commit is contained in:
parent
d934e0c9fb
commit
023a894677
87 changed files with 174 additions and 174 deletions
|
|
@ -469,7 +469,7 @@ func (ctx *APIContext) IsUserRepoWriter(unitTypes []unit.Type) bool {
|
|||
|
||||
// Returns true when the requests indicates that it accepts a Github response.
|
||||
// This should be used to return information in the way that the Github API
|
||||
// specifies it. Avoids breaking compatability with non-Github API clients.
|
||||
// specifies it. Avoids breaking compatibility with non-Github API clients.
|
||||
func (ctx *APIContext) AcceptsGithubResponse() bool {
|
||||
return ctx.Req.Header.Get("Accept") == "application/vnd.github+json"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue