Fix return type

Signed-off-by: Nicolas Arnold <nic@roadie.io>
This commit is contained in:
Nicolas Arnold
2021-11-19 11:09:37 +00:00
parent 8866b62f3d
commit 3c6141c37a
@@ -60,7 +60,7 @@ export class DefaultLocationService implements LocationService {
): Promise<Entity[]> {
const currentEntity = unprocessed.pop();
if (!currentEntity) {
return [];
return entities;
}
const processed = await this.orchestrator.process({
entity: currentEntity.entity,