Skip to content

Commit 10505e4

Browse files
author
Hossam Barakat
committed
Fix typo in IsMissingIdemPotencyKey
1 parent 38130a1 commit 10505e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/src/AWS.Lambda.Powertools.Idempotency/Persistence/BasePersistenceStore.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private string GetHashedIdempotencyKey(JsonDocument data)
290290
node = JsonDocument.Parse(result).RootElement;
291291
}
292292

293-
if (IsMissingIdemPotencyKey(node))
293+
if (IsMissingIdempotencyKey(node))
294294
{
295295
if (_idempotencyOptions.ThrowOnNoIdempotencyKey)
296296
{
@@ -308,7 +308,7 @@ private string GetHashedIdempotencyKey(JsonDocument data)
308308
/// </summary>
309309
/// <param name="data"></param>
310310
/// <returns>True if the Idempotency key is missing</returns>
311-
private static bool IsMissingIdemPotencyKey(JsonElement data)
311+
private static bool IsMissingIdempotencyKey(JsonElement data)
312312
{
313313
return data.ValueKind == JsonValueKind.Null || data.ValueKind == JsonValueKind.Undefined
314314
|| (data.ValueKind == JsonValueKind.String && data.ToString() == string.Empty);

0 commit comments

Comments
 (0)