From 417a21ea9155025cbeec16575ea9bec06ee4ab08 Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 3 Aug 2024 16:36:01 +0600 Subject: [PATCH] ci: fix service config retrieval --- api/src/util/test-ci.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/util/test-ci.js b/api/src/util/test-ci.js index 1c9a7011..7c515d9e 100644 --- a/api/src/util/test-ci.js +++ b/api/src/util/test-ci.js @@ -14,7 +14,7 @@ const finnicky = new Set(['bilibili', 'instagram', 'youtube']) const action = process.argv[2]; switch (action) { case "get-services": - const fromConfig = Object.keys(services.config); + const fromConfig = Object.keys(services); const missingTests = fromConfig.filter( service => !tests[service] || tests[service].length === 0