Change this
This commit is contained in:
1 file changed
+1
-1
@@ -49,7 +49,7 @@ export const handler = async (context: Context) => {
|
|||||||
result.map(v => {
|
result.map(v => {
|
||||||
const data = v
|
const data = v
|
||||||
v.content = atob(v.content)
|
v.content = atob(v.content)
|
||||||
if (v.attributes) v.attributes = JSON.parse(v.attributes)
|
v.attributes = v.attributes ? JSON.parse(v.attributes) : {}
|
||||||
return data
|
return data
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user