diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-11-09 02:53:18 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-05 06:24:48 +0800 |
commit | 53cc9e9bedc6adf2247a190dbb758c9411033cab (patch) | |
tree | d7ede5521e5150ea06e1f1d8b8b7606a0c74f2e0 /packages/pipeline/src/parsers | |
parent | ccad046eb649a60fdf7319a075fa41490d593ae8 (diff) | |
download | dexon-sol-tools-53cc9e9bedc6adf2247a190dbb758c9411033cab.tar dexon-sol-tools-53cc9e9bedc6adf2247a190dbb758c9411033cab.tar.gz dexon-sol-tools-53cc9e9bedc6adf2247a190dbb758c9411033cab.tar.bz2 dexon-sol-tools-53cc9e9bedc6adf2247a190dbb758c9411033cab.tar.lz dexon-sol-tools-53cc9e9bedc6adf2247a190dbb758c9411033cab.tar.xz dexon-sol-tools-53cc9e9bedc6adf2247a190dbb758c9411033cab.tar.zst dexon-sol-tools-53cc9e9bedc6adf2247a190dbb758c9411033cab.zip |
Rename table and column names
Diffstat (limited to 'packages/pipeline/src/parsers')
-rw-r--r-- | packages/pipeline/src/parsers/events/index.ts | 2 | ||||
-rw-r--r-- | packages/pipeline/src/parsers/sra_orders/index.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/src/parsers/events/index.ts b/packages/pipeline/src/parsers/events/index.ts index 7211eed76..7a0ead0d4 100644 --- a/packages/pipeline/src/parsers/events/index.ts +++ b/packages/pipeline/src/parsers/events/index.ts @@ -79,7 +79,7 @@ export function _convertToExchangeCancelEvent( exchangeCancelEvent.makerAddress = eventLog.args.makerAddress.toString(); exchangeCancelEvent.takerAddress = eventLog.args.takerAddress == null ? null : eventLog.args.takerAddress.toString(); - exchangeCancelEvent.feeRecepientAddress = eventLog.args.feeRecipientAddress; + exchangeCancelEvent.feeRecipientAddress = eventLog.args.feeRecipientAddress; exchangeCancelEvent.senderAddress = eventLog.args.senderAddress; exchangeCancelEvent.orderHash = eventLog.args.orderHash; exchangeCancelEvent.rawMakerAssetData = eventLog.args.makerAssetData; diff --git a/packages/pipeline/src/parsers/sra_orders/index.ts b/packages/pipeline/src/parsers/sra_orders/index.ts index 5cd19b08a..4e4bf12ff 100644 --- a/packages/pipeline/src/parsers/sra_orders/index.ts +++ b/packages/pipeline/src/parsers/sra_orders/index.ts @@ -48,7 +48,7 @@ export function _convertToEntity(apiOrder: APIOrder): SraOrder { sraOrder.takerTokenAddress = takerAssetData.tokenAddress; sraOrder.takerTokenId = bigNumbertoStringOrNull((takerAssetData as ERC721AssetData).tokenId); - sraOrder.metaDataJson = JSON.stringify(apiOrder.metaData); + sraOrder.metadataJson = JSON.stringify(apiOrder.metaData); return sraOrder; } |