mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-03 10:26:26 +02:00
api: fix errors from refactor + PISTON_ALIAS envvar
This commit is contained in:
parent
c6610671fa
commit
3ae32aad3f
3 changed files with 11 additions and 6 deletions
|
@ -23,7 +23,7 @@ const get_package_list = async () => {
|
|||
});
|
||||
};
|
||||
|
||||
const get_package async (lang, version) => {
|
||||
const get_package = async (lang, version) => {
|
||||
const packages = await get_package_list();
|
||||
|
||||
const candidates = packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue