File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/scala/algoliasearch/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -826,7 +826,7 @@ class SearchClient(
826
826
objectID : String ,
827
827
attributesToRetrieve : Option [Seq [String ]] = None ,
828
828
requestOptions : Option [RequestOptions ] = None
829
- )(implicit ec : ExecutionContext ): Future [Map [ String , String ] ] = Future {
829
+ )(implicit ec : ExecutionContext ): Future [Any ] = Future {
830
830
requireNotNull(indexName, " Parameter `indexName` is required when calling `getObject`." )
831
831
requireNotNull(objectID, " Parameter `objectID` is required when calling `getObject`." )
832
832
@@ -836,7 +836,7 @@ class SearchClient(
836
836
.withPath(s " /1/indexes/ ${escape(indexName)}/ ${escape(objectID)}" )
837
837
.withQueryParameter(" attributesToRetrieve" , attributesToRetrieve)
838
838
.build()
839
- execute[Map [ String , String ] ](request, requestOptions)
839
+ execute[Any ](request, requestOptions)
840
840
}
841
841
842
842
/** Retrieves one or more records, potentially from different indices. Records are returned in the same order as the
You can’t perform that action at this time.
0 commit comments