~edwargix/git.sr.ht

91333aaf1cf03588cd3d4dfcf715623b014a69de — Eli Schwartz 3 years ago f6e05d0
fix typo in sources for the api binary which broke the build

Regression from commit 8a769ecedb1f0748e82d792622b07219a5ac921d.
1 files changed, 1 insertions(+), 1 deletions(-)

M api/graph/schema.resolvers.go
M api/graph/schema.resolvers.go => api/graph/schema.resolvers.go +1 -1
@@ 73,7 73,7 @@ func (r *mutationResolver) CreateRepository(ctx context.Context, name string, vi
			name, repoNameRE.String())
	}
	if name == "." || name == ".." {
		return nil, fmt.Errorf("Invalid repository name '%s' (must not be . or ..)", name))
		return nil, fmt.Errorf("Invalid repository name '%s' (must not be . or ..)", name)
	}

	conf := config.ForContext(ctx)