fix gitea workflow path and runner label
Build docker and publish / build (20.15.1) (push) Failing after 7m57s
Build docker and publish / build (20.15.1) (push) Failing after 7m57s
This commit is contained in:
@@ -636,7 +636,10 @@ func RegisterHandlers(router *gin.Engine, serverCtx *svc.ServiceContext) {
|
||||
authGroupRouter.GET("/check/telephone", auth.CheckUserTelephoneHandler(serverCtx))
|
||||
|
||||
// Check legacy verification code
|
||||
authGroupRouter.POST("/check-code", auth.CheckCodeLegacyHandler(serverCtx))
|
||||
authGroupRouter.POST("/check-code", middleware.ApiVersionSwitchHandler(
|
||||
auth.CheckCodeLegacyV1Handler(serverCtx),
|
||||
auth.CheckCodeLegacyV2Handler(serverCtx),
|
||||
))
|
||||
|
||||
// User login
|
||||
authGroupRouter.POST("/login", auth.UserLoginHandler(serverCtx))
|
||||
@@ -684,7 +687,10 @@ func RegisterHandlers(router *gin.Engine, serverCtx *svc.ServiceContext) {
|
||||
commonGroupRouter.GET("/ads", common.GetAdsHandler(serverCtx))
|
||||
|
||||
// Check verification code
|
||||
commonGroupRouter.POST("/check_verification_code", common.CheckVerificationCodeHandler(serverCtx))
|
||||
commonGroupRouter.POST("/check_verification_code", middleware.ApiVersionSwitchHandler(
|
||||
common.CheckVerificationCodeV1Handler(serverCtx),
|
||||
common.CheckVerificationCodeV2Handler(serverCtx),
|
||||
))
|
||||
|
||||
// Get Client
|
||||
commonGroupRouter.GET("/client", common.GetClientHandler(serverCtx))
|
||||
|
||||
Reference in New Issue
Block a user