mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 21:46:27 +02:00
cli: fix breaks caused by refactor
This commit is contained in:
parent
4621f34e47
commit
3bec1c3499
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ exports.handler = async function({axios}){
|
|||
const packages = await axios.get('/packages');
|
||||
|
||||
|
||||
const pkg_msg = packages.data.data.packages
|
||||
const pkg_msg = packages.data
|
||||
.map(msg_format.color)
|
||||
.join('\n');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue