fixed message delivery for data entry
This commit is contained in:
parent
a07f17776c
commit
92155b11eb
@ -420,8 +420,15 @@ if __name__ == "__main__":
|
||||
{
|
||||
"name": "BASE_URL",
|
||||
"value": "https://freq.isaac.international/dev"
|
||||
},
|
||||
{
|
||||
"name": "FREQ_TICKER",
|
||||
"value": "{}".format('5m')
|
||||
},
|
||||
{
|
||||
"name": "FREQ_TIMERANGE",
|
||||
"value": "{}".format(30)
|
||||
}
|
||||
|
||||
]
|
||||
}]},
|
||||
)
|
||||
|
@ -33,7 +33,7 @@ def submit(event, context):
|
||||
|
||||
result = client.publish(
|
||||
TopicArn=topic_arn,
|
||||
Message=json.dumps({'default': data}),
|
||||
Message=json.dumps({'default': json.dumps(data, use_decimal=True)}),
|
||||
Subject="persist data",
|
||||
MessageStructure='json'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user