mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-03 10:26:26 +02:00
api: fixes from refactor
This commit is contained in:
parent
3ae32aad3f
commit
4621f34e47
4 changed files with 12 additions and 13 deletions
|
@ -42,7 +42,7 @@ module.exports = {
|
|||
async package_list(req, res) {
|
||||
logger.debug('Request to list packages');
|
||||
|
||||
const packages = await get_package_list();
|
||||
let packages = await get_package_list();
|
||||
|
||||
packages = packages
|
||||
.map(pkg => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue