Skip to content

Commit

Permalink
Fix NPE
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
  • Loading branch information
ohltyler committed Jul 12, 2023
1 parent 5013760 commit 46ed708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/utils/dashboards/vis-augmenter/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const deleteVisAugmenterData = (
api/opensearch-dashboards/management/saved_objects/_find?perPage=5000&page=1&fields=id&type=config&type=url&type=index-pattern&type=query&type=dashboard&type=visualization&type=visualization-visbuilder&type=augment-vis&type=search&sortField=type`,
'GET'
).then((response) => {
response.body.saved_objects.forEach((obj) => {
response.body.saved_objects?.forEach((obj) => {
if (
obj.type !== 'config' &&
[
Expand Down

0 comments on commit 46ed708

Please sign in to comment.