fix: put under the /api/v3 route space

This commit is contained in:
Derrick Hammer 2024-02-12 00:40:35 -05:00
parent 3565331a58
commit 846e5df758
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ func setupAppInstallRoutes(params RouteParams) {
appInstallApi := newAppInstallApi(cfg, db, logger) appInstallApi := newAppInstallApi(cfg, db, logger)
appRouter := r.PathPrefix("/app").Subrouter() appRouter := r.PathPrefix("/api/v3/app").Subrouter()
appRouter.Use(githubRestVerifyMiddleware(params.Db)) appRouter.Use(githubRestVerifyMiddleware(params.Db))
appRouter.Use(githubRestRequireAuthMiddleware(params.Config)) appRouter.Use(githubRestRequireAuthMiddleware(params.Config))