fixed formating issues
This commit is contained in:
parent
82928fd681
commit
c8a66bbe5d
@ -126,9 +126,8 @@ def code(event, context):
|
|||||||
|
|
||||||
if "Items" in response and len(response['Items']) > 0:
|
if "Items" in response and len(response['Items']) > 0:
|
||||||
if response['Items'][0]["public"]:
|
if response['Items'][0]["public"]:
|
||||||
content = urlsafe_b64decode(response['Items'][0]['content'])
|
content = urlsafe_b64decode(response['Items'][0]['content']).decode('utf-8')
|
||||||
|
return content
|
||||||
return str(content)
|
|
||||||
else:
|
else:
|
||||||
return {
|
return {
|
||||||
"statusCode": 403,
|
"statusCode": 403,
|
||||||
|
Loading…
Reference in New Issue
Block a user