mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-01-22 06:03:02 +00:00
parent
914c6414e8
commit
2de30c0acd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user