Skip to content

Commit

Permalink
[documents] Fixed Lint Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
prameetc committed Sep 21, 2018
1 parent 0b99577 commit 583a300
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/types/Documents.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ export type PanthalassaDocument = {
mime_type: string,
content: string,
description: string,
tx_hash: string,
txHash: string,
signature: string,
}
4 changes: 2 additions & 2 deletions src/utils/mapping/documents.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function convertFromPanthalassa(data: PanthalassaDocument, dataId: string
id: data.id,
name: data.title,
description: data.description,
tx_hash: data.tx_hash,
txHash: data.txHash,
signature: data.signature,
dataId,
mimeType: data.mime_type,
Expand All @@ -31,7 +31,7 @@ export function convertToPanthalassa(document: Document, content: string): Panth
id: document.id,
title: document.name,
description: document.description,
tx_hash: document.tx_hash,
txHash: document.txHash,
signature: document.signature,
content,
mime_type: document.mimeType,
Expand Down

0 comments on commit 583a300

Please sign in to comment.