Skip to content
Snippets Groups Projects
Commit 153f4c40 authored by Gospodin Bodurov's avatar Gospodin Bodurov
Browse files

FIx bug

parent af178541
No related branches found
No related tags found
1 merge request!44Login with vereign
......@@ -246,10 +246,12 @@ func (s *KeyStorageServerImpl) GetKeyId(ctx context.Context, in *api.GetKeyIdByK
keyID := string(response.Data.Data)
keyIdResponse.KeyId = keyID
return keyIdResponse, nil
}
if err != nil {
return nil, err
} else {
if err != nil {
return nil, err
} else {
return nil, errors.New("Can not get public key")
}
}
entity, err := clientutils.GetLastEntity(entitiesMagamentClient, in.EntityUUID)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment