Skip to content

Commit 4f08bab

Browse files
committed
docs: fix jmespath sample using correct field
1 parent 676befd commit 4f08bab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/utilities/idempotency.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ When using `idempotent_function`, you must tell us which keyword parameter in yo
208208

209209
dynamodb = DynamoDBPersistenceLayer(table_name="idem")
210210
config = IdempotencyConfig(
211-
event_key_jmespath="messageId", # see Choosing a payload subset section
211+
event_key_jmespath="order_id", # see Choosing a payload subset section
212212
use_local_cache=True,
213213
)
214214

@@ -244,7 +244,7 @@ When using `idempotent_function`, you must tell us which keyword parameter in yo
244244

245245
dynamodb = DynamoDBPersistenceLayer(table_name="idem")
246246
config = IdempotencyConfig(
247-
event_key_jmespath="messageId", # see Choosing a payload subset section
247+
event_key_jmespath="order_id", # see Choosing a payload subset section
248248
use_local_cache=True,
249249
)
250250

0 commit comments

Comments
 (0)