mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
Merge pull request #47 from felixonmars/metacpan-update
CPAN: Use metacpan fastapi
This commit is contained in:
commit
fcd2ff29e4
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
from .simple_json import simple_json
|
from .simple_json import simple_json
|
||||||
|
|
||||||
# Using metacpan
|
# Using metacpan
|
||||||
CPAN_URL = 'https://api.metacpan.org/release/%s'
|
CPAN_URL = 'https://fastapi.metacpan.org/release/%s'
|
||||||
|
|
||||||
def _version_from_json(data):
|
def _version_from_json(data):
|
||||||
return str(data['version'])
|
return str(data['version'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue