From 4d22c8c5be0f6498c5305ed01e1121efbe4e8987 Mon Sep 17 00:00:00 2001 From: MartinezAvellan Date: Fri, 18 Oct 2024 15:41:41 +0200 Subject: [PATCH] fix: go sec and lint; :bug: --- components/ledger/internal/app/command/create-account.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/ledger/internal/app/command/create-account.go b/components/ledger/internal/app/command/create-account.go index 7fbee04a..0c19b857 100644 --- a/components/ledger/internal/app/command/create-account.go +++ b/components/ledger/internal/app/command/create-account.go @@ -23,10 +23,6 @@ func (uc *UseCase) CreateAccount(ctx context.Context, organizationID, ledgerID, cai.Name = cai.AssetCode + " " + cai.Type + " account" } - if common.IsNilOrEmpty(cai.Alias) { - cai.Alias = nil - } - var status a.Status if cai.Status.IsEmpty() { status = a.Status{