Strip 0x prefix from transaction ID
This commit is contained in:
parent
def184af24
commit
24c4949b40
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ export async function onTokenMinted(
|
|||
const url = `${BACKEND_URL}/api/v1/statuses/${postId}/token_minted`
|
||||
const response = await http(url, {
|
||||
method: "POST",
|
||||
json: { transaction_id: transactionId },
|
||||
json: { transaction_id: transactionId.replace(/0x/, "") },
|
||||
authToken,
|
||||
})
|
||||
const data = await response.json()
|
||||
|
|
Loading…
Reference in a new issue