Skip to content

Commit

Permalink
fix: show payload and logresult as string
Browse files Browse the repository at this point in the history
  • Loading branch information
LinHuiqing committed Sep 19, 2023
1 parent 38d7fd4 commit 682eb0c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,11 @@ export const scanAttachments = async (
meta: {
...logMeta,
responseMetadata: data?.$metadata,
returnPayload: data?.Payload,
returnPayload: Buffer.from(data?.Payload ?? '').toString(),
logResult: Buffer.from(
data?.LogResult ?? '',
'base64',
).toString(),
},
})
return okAsync(true)
Expand Down

0 comments on commit 682eb0c

Please sign in to comment.