fix show to be case insensitive
The `extensionId` should not be case sensitive. *Matching a search on the Marketplace.* fixes #224
This commit is contained in:
parent
092988ec7c
commit
c07455ce49
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ export class PublicGalleryAPI {
|
||||||
flags,
|
flags,
|
||||||
})
|
})
|
||||||
.then(result => result.filter(({publisher: {publisherName}, extensionName}) =>
|
.then(result => result.filter(({publisher: {publisherName}, extensionName}) =>
|
||||||
extensionId === `${publisherName}.${extensionName}`)
|
extensionId.toLowerCase() === `${publisherName}.${extensionName}`.toLowerCase())
|
||||||
)
|
)
|
||||||
.then(([extension]) => extension);
|
.then(([extension]) => extension);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue