ref(githubish): manual removal of unused request

This commit is contained in:
AJ ONeal
2024-10-14 09:07:17 +00:00
parent 2010c62226
commit 5d28f7333a
2 changed files with 2 additions and 4 deletions

View File

@@ -20,9 +20,8 @@ Releases.latest = async function () {
};
Releases.sample = async function () {
let request = require('@root/request');
let normalize = require('../_webi/normalize.js');
let all = await module.exports(request);
let all = await module.exports();
all = normalize(all);
// just select the first 5 for demonstration
all.releases = all.releases.slice(0, 5);

View File

@@ -11,9 +11,8 @@ module.exports = async function () {
if (module === require.main) {
(async function () {
let request = require('@root/request');
let normalize = require('../_webi/normalize.js');
let all = await module.exports(request);
let all = await module.exports();
all = normalize(all);
// just select the first 5 for demonstration
all.releases = all.releases.slice(0, 5);