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 => {
|
||||
const data = v
|
||||
v.content = atob(v.content)
|
||||
if (v.attributes) v.attributes = JSON.parse(v.attributes)
|
||||
v.attributes = v.attributes ? JSON.parse(v.attributes) : {}
|
||||
return data
|
||||
})
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user