dete accounts
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 2m1s
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 2m1s
This commit is contained in:
@@ -139,6 +139,13 @@ func (s MobilityAccountsServerImpl) ChangePassword(ctx context.Context, req *Cha
|
||||
}
|
||||
return &ChangePasswordResponse{}, nil
|
||||
}
|
||||
func (s MobilityAccountsServerImpl) DeleteAccount(ctx context.Context, req *DeleteAccountRequest) (*DeleteAccountResponse, error) {
|
||||
err := s.handler.DeleteAccount(req.Id)
|
||||
if err != nil {
|
||||
return nil, status.Errorf(codes.Internal, "failed to delete account: %v", err)
|
||||
}
|
||||
return &DeleteAccountResponse{}, nil
|
||||
}
|
||||
func (MobilityAccountsServerImpl) mustEmbedUnimplementedMobilityAccountsServer() {}
|
||||
|
||||
func Run(done chan error, cfg *viper.Viper, handler handlers.MobilityAccountsHandler) {
|
||||
|
||||
Reference in New Issue
Block a user