fix(striker-ui-api): don't throw when no servers found in anvil summary

main
Tsu-ba-me 1 year ago
parent 126a8615d9
commit 24879a3ca8
  1. 2
      striker-ui-api/src/lib/request_handlers/anvil/buildAnvilSummary.ts

@ -60,8 +60,6 @@ export const buildAnvilSummary = async ({
throw error; throw error;
} }
if (!scounts.length) throw new Error(`No host server records found`);
for (const huuid of [n1uuid, n2uuid]) { for (const huuid of [n1uuid, n2uuid]) {
const { const {
host_uuid: { host_uuid: {

Loading…
Cancel
Save