feat: add tests for webhook resolvers
This commit is contained in:
@@ -219,7 +219,7 @@ func OAuthCallbackHandler() gin.HandlerFunc {
|
||||
|
||||
go func() {
|
||||
if isSignUp {
|
||||
utils.RegisterEvent(ctx, constants.EnvKeyDisableSignUp, provider, user)
|
||||
utils.RegisterEvent(ctx, constants.UserSignUpWebhookEvent, provider, user)
|
||||
} else {
|
||||
utils.RegisterEvent(ctx, constants.UserLoginWebhookEvent, provider, user)
|
||||
}
|
||||
|
Reference in New Issue
Block a user