Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Commit 878d9dc

Browse files
committed
fix SES direct backend access
1 parent 61e27b2 commit 878d9dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

localstack-core/localstack/services/ses/provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ def set_identity_headers_in_notifications_enabled(
558558
)
559559

560560
backend = get_ses_backend(context)
561-
if identity not in backend.addresses:
561+
if identity not in backend.email_identities:
562562
raise MessageRejected(f"Identity {identity} is not verified or does not exist.")
563563

564564
# Store the setting in the backend

0 commit comments

Comments
 (0)