From 784f9bf93c4fe862d3c8967355a45657ccf94df3 Mon Sep 17 00:00:00 2001 From: Jon Carifio Date: Wed, 1 Nov 2023 09:58:35 -0400 Subject: [PATCH] Remove undefined argument passed to search data method. --- factories/SearchUtil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/factories/SearchUtil.js b/factories/SearchUtil.js index 70f2156..db151d7 100644 --- a/factories/SearchUtil.js +++ b/factories/SearchUtil.js @@ -64,7 +64,7 @@ wwt.app.factory( function getPlaceById(id) { var deferred = $q.defer(); - searchDataService.getData(all).then(function (d) { + searchDataService.getData().then(function (d) { var constellationIndex = parseInt(id.split('.')[0]); var placeIndex = parseInt(id.split('.')[1]); var p = d.Constellations[constellationIndex].places[placeIndex];