'use strict';
const { fetchReleases } = require('../releases');
async function fetchReleasesApi(req, res) {
const releases = await fetchReleases(req.params.releaseId);
res.send(releases);
}
module.exports = {
fetchReleases: fetchReleasesApi,
};