vsmarketplace: use better filterType

fixes #216.
This commit is contained in:
Vanilla 2022-06-18 16:27:17 +08:00 committed by lilydjwg
parent 914c6414e8
commit 2de30c0acd
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ async def get_version(name: str, conf: Entry, *, cache: AsyncCache, **kwargs):
'value': 'Microsoft.VisualStudio.Code'
},
{
'filterType': 10,
'filterType': 7,
'value': name
},
{
@ -51,4 +51,4 @@ async def get_version(name: str, conf: Entry, *, cache: AsyncCache, **kwargs):
j = res.json()
version = j['results'][0]['extensions'][0]['versions'][0]['version']
return version
return version