
const { line } = require('../../../../lib/db');

module.exports = async function (req, res, next) {

	try {
		res.status(200).send(await line.list(req.params.project, req.query));
		next();
	} catch (err) {
		next(err);
	}


};
