Skip to content

Commit

Permalink
add console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
samchuk-vlad committed Sep 18, 2023
1 parent 1780d57 commit 1c892f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/server/pendingOrders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export const pendingOrdersWrapper = async ({
nonce,
)

console.log(clientId, process.env.SELLER_CLIENT_TOKEN_SIGNER)

const requestHeaders = {
Authorization: 'Bearer ' + u8aToHex(signedToken.sealed),
'Client-Id': clientId,
Expand All @@ -60,7 +62,7 @@ export const pendingOrdersWrapper = async ({
} catch (e: any) {
res.status(200).send({
success: false,
errors: e.response.errors?.[0].message,
errors: e.response?.errors?.[0].message,
})
return undefined
}
Expand Down

0 comments on commit 1c892f3

Please sign in to comment.