Skip to content

Commit

Permalink
Merge pull request #77 from actiontech/reset_account
Browse files Browse the repository at this point in the history
support reset cloudbeaver connet account by auth
  • Loading branch information
rocky114 authored Nov 6, 2023
2 parents db7eb46 + f023c25 commit 58c8889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/dms/biz/cloudbeaver.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ func (cu *CloudbeaverUsecase) connectManagement(ctx context.Context, cloudbeaver
return err
}

activeDBServices, err = cu.ResetDbServiceByAuth(ctx, activeDBServices)
activeDBServices, err = cu.ResetDbServiceByAuth(ctx, activeDBServices, dmsUser.UID)
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion internal/dms/biz/cloudbeaver_ce.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ package biz

import "context"

func (cu *CloudbeaverUsecase) ResetDbServiceByAuth(ctx context.Context, activeDBServices []*DBService) ([]*DBService, error) {
func (cu *CloudbeaverUsecase) ResetDbServiceByAuth(ctx context.Context, activeDBServices []*DBService, userId string) ([]*DBService, error) {
return activeDBServices, nil
}

0 comments on commit 58c8889

Please sign in to comment.