Skip to content

Commit

Permalink
setting entitytype based on request
Browse files Browse the repository at this point in the history
  • Loading branch information
zygis0408 committed Feb 14, 2023
1 parent 2b98399 commit c007e62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ private void PopulateCompanyMetadata(IEntityMetadata metadata, IExternalSearchQu
{
var code = this.GetOrganizationOriginEntityCode(resultItem, request);

metadata.EntityType = EntityType.Organization;
metadata.EntityType = request.EntityMetaData.EntityType;
metadata.Name = request.EntityMetaData.Name;
metadata.OriginEntityCode = code;
metadata.Codes.Add(code);
Expand Down

0 comments on commit c007e62

Please sign in to comment.