ソースを参照

fix comment typos

Anukul Sangwan 4 年 前
コミット
07d5629e1b
2 ファイル変更2 行追加2 行削除
  1. 1 1
      api/server/router/git_installation.go
  2. 1 1
      api/server/router/user.go

+ 1 - 1
api/server/router/git_installation.go

@@ -51,7 +51,7 @@ func getGitInstallationRoutes(
 
 
 	routes := make([]*Route, 0)
 	routes := make([]*Route, 0)
 
 
-	// GET /api/projects/{project_id}/gitrepos/{git_installation_id} -> registry.NewGitInstallationGetHandler
+	// GET /api/projects/{project_id}/gitrepos/{git_installation_id} -> gitinstallation.NewGitInstallationGetHandler
 	getEndpoint := factory.NewAPIEndpoint(
 	getEndpoint := factory.NewAPIEndpoint(
 		&types.APIRequestMetadata{
 		&types.APIRequestMetadata{
 			Verb:   types.APIVerbGet,
 			Verb:   types.APIVerbGet,

+ 1 - 1
api/server/router/user.go

@@ -187,7 +187,7 @@ func getUserRoutes(
 		Router:   r,
 		Router:   r,
 	})
 	})
 
 
-	// GET /email/verify/initiate -> user.VerifyEmailInitiateHandler
+	// POST /email/verify/initiate -> user.VerifyEmailInitiateHandler
 	emailVerifyInitiateEndpoint := factory.NewAPIEndpoint(
 	emailVerifyInitiateEndpoint := factory.NewAPIEndpoint(
 		&types.APIRequestMetadata{
 		&types.APIRequestMetadata{
 			Verb:   types.APIVerbUpdate,
 			Verb:   types.APIVerbUpdate,