parent
914c6414e8
commit
2de30c0acd
|
@ -25,7 +25,7 @@ async def get_version(name: str, conf: Entry, *, cache: AsyncCache, **kwargs):
|
||||||
'value': 'Microsoft.VisualStudio.Code'
|
'value': 'Microsoft.VisualStudio.Code'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'filterType': 10,
|
'filterType': 7,
|
||||||
'value': name
|
'value': name
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -51,4 +51,4 @@ async def get_version(name: str, conf: Entry, *, cache: AsyncCache, **kwargs):
|
||||||
j = res.json()
|
j = res.json()
|
||||||
|
|
||||||
version = j['results'][0]['extensions'][0]['versions'][0]['version']
|
version = j['results'][0]['extensions'][0]['versions'][0]['version']
|
||||||
return version
|
return version
|
||||||
|
|
Loading…
Reference in New Issue