also send queried text

This commit is contained in:
Joao Moreno 2016-04-28 16:59:53 +02:00
parent c0b4331de1
commit 10ef60a0b7

View file

@ -234,7 +234,8 @@ export class GalleryService implements IGalleryService {
}
const type = options.ids ? 'ids' : (options.text ? 'text' : 'all');
this.telemetryService.publicLog('galleryService:query', { type });
const text = options.text || '';
this.telemetryService.publicLog('galleryService:query', { type, text });
const cache = this.queryCache().then(result => {
const rawLastModified = result.getResponseHeader('last-modified');