Add api key to remote image urls
This commit is contained in:
@@ -261,7 +261,11 @@ import template from './itemidentifier.template.html';
|
||||
function getSearchImageDisplayUrl(url, provider) {
|
||||
const apiClient = getApiClient();
|
||||
|
||||
return apiClient.getUrl('Items/RemoteSearch/Image', { imageUrl: url, ProviderName: provider });
|
||||
return apiClient.getUrl('Items/RemoteSearch/Image', {
|
||||
imageUrl: url,
|
||||
ProviderName: provider,
|
||||
api_key: apiClient.accessToken()
|
||||
});
|
||||
}
|
||||
|
||||
function submitIdentficationResult(page) {
|
||||
|
||||
Reference in New Issue
Block a user