From 6429364cef72f9d9e4874d150a67b1d78878088b Mon Sep 17 00:00:00 2001 From: Ryan Morales Date: Wed, 26 Jun 2024 12:52:11 -0700 Subject: [PATCH] fix formatting for getPropositionsForSurfaces kotlin example --- .../code-based/tabs/api-reference.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pages/edge/adobe-journey-optimizer/code-based/tabs/api-reference.md b/src/pages/edge/adobe-journey-optimizer/code-based/tabs/api-reference.md index 55f7e4de3a..5af5f85f86 100644 --- a/src/pages/edge/adobe-journey-optimizer/code-based/tabs/api-reference.md +++ b/src/pages/edge/adobe-journey-optimizer/code-based/tabs/api-reference.md @@ -26,16 +26,16 @@ val surfaces = listOf(surface1, surface2) Messaging.getPropositionsForSurfaces(surfaces) { it?.let { propositionsMap -> - if (propositionsMap.isNotEmpty()) { - // get the propositions for the given surfaces - propositionsMap[surface1]?.let { - // read surface1 propositions - } - propositionsMap[surface2]?.let { - // read surface2 propositions - } - } - } + if (propositionsMap.isNotEmpty()) { + // get the propositions for the given surfaces + propositionsMap[surface1]?.let { + // read surface1 propositions + } + propositionsMap[surface2]?.let { + // read surface2 propositions + } + } + } } ```