Skip to content

Commit fff2c3e

Browse files
committed
VED-79: align payload
1 parent a844a06 commit fff2c3e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

mns_subscription/src/mns_service.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ def subscribe_notification(self) -> dict | None:
3636
}
3737
response = requests.post(MNS_URL, headers=request_headers, data=json.dumps(subscription_payload))
3838

39+
print(f"Access Token: {access_token}")
40+
print(f"SQS ARN: {SQS_ARN}")
41+
print(f"Headers: {request_headers}")
42+
print(f"Payload: {json.dumps(subscription_payload, indent=2)}")
43+
3944
if response.status_code == 200:
4045
return response.json()
4146
elif response.status_code == 404:

mns_subscription/src/subscribe_mns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
def run_subscription():
1414
try:
15-
mns_env: str = os.getenv("MNS_ENV", "int")
15+
mns_env: str = "int"
1616

1717
boto_config = Config(region_name="eu-west-2")
1818
cache = Cache(directory="/tmp")

0 commit comments

Comments
 (0)