server: fix typing for skippedInstances query

This commit is contained in:
Norm 2022-12-07 16:41:34 -05:00
parent 873e21f090
commit 350f21d955
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE

View file

@ -35,7 +35,7 @@ export async function skippedInstances(hosts: Array<Instance['host']>): Promise<
hosts.filter(host => !skipped.includes(host) && !host.includes(',')).join(','), hosts.filter(host => !skipped.includes(host) && !host.includes(',')).join(','),
], ],
) )
.then(res => res.map(row => row.host)), .then((res: Instance[]) => res.map(row => row.host)),
); );
} }