Skip to content

Commit

Permalink
fix(gms): make get return entity type (#2739)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjoyce0510 authored Jun 23, 2021
1 parent 91f5d4f commit 7615ddb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import com.linkedin.data.template.DataTemplateUtil;
import com.linkedin.data.template.DynamicRecordMetadata;
import com.linkedin.data.template.FieldDef;
import com.linkedin.data.template.RecordTemplate;
import com.linkedin.data.template.StringArray;
import com.linkedin.entity.EntitiesDoAutocompleteRequestBuilder;
import com.linkedin.entity.EntitiesDoBrowseRequestBuilder;
Expand Down Expand Up @@ -78,7 +77,7 @@ private <T> Response<T> sendClientRequest(Request<T> request) throws RemoteInvoc
}

@Nonnull
public RecordTemplate get(@Nonnull final Urn urn) throws RemoteInvocationException {
public Entity get(@Nonnull final Urn urn) throws RemoteInvocationException {
final GetRequest<Entity> getRequest = ENTITIES_REQUEST_BUILDERS.get()
.id(urn.toString())
.build();
Expand Down

0 comments on commit 7615ddb

Please sign in to comment.