Change gist init url to /init (#109)

This commit is contained in:
Thomas Miceli
2023-09-25 18:43:55 +02:00
committed by GitHub
parent 6c450c6f3b
commit 5b278e2e86
7 changed files with 26 additions and 29 deletions

View File

@ -67,7 +67,7 @@ func InitRepository(user string, gist string) error {
return createDotGitFiles(repositoryPath)
}
func InitRepositoryViaNewPush(user string, gist string, ctx echo.Context) error {
func InitRepositoryViaInit(user string, gist string, ctx echo.Context) error {
repositoryPath := RepositoryPath(user, gist)
if err := InitRepository(user, gist); err != nil {