Cleaned up code

This commit is contained in:
Alfred Kamanda 2024-10-23 17:45:41 +03:00
parent 4011597d9c
commit a553731f02
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -1004,7 +1004,6 @@ func (h *Handlers) SetDefaultVoucher(ctx context.Context, sym string, input []by
if err != nil { if err != nil {
if db.IsNotFound(err) { if db.IsNotFound(err) {
publicKey, err := store.ReadEntry(ctx, sessionId, utils.DATA_PUBLIC_KEY) publicKey, err := store.ReadEntry(ctx, sessionId, utils.DATA_PUBLIC_KEY)
if err != nil { if err != nil {
return res, nil return res, nil
} }