fix: undefined return value
This commit is contained in:
parent
c6806d525d
commit
6927add4b1
@ -29,7 +29,7 @@ def lambda_handler(event, _context):
|
|||||||
print(f"Error while publishing to MQTT topic {TOPIC}.")
|
print(f"Error while publishing to MQTT topic {TOPIC}.")
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
return url
|
return result['url']
|
||||||
|
|
||||||
|
|
||||||
def iot_publish(payload):
|
def iot_publish(payload):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user