Skip to content

Commit

Permalink
Merge pull request #390 from pshenmic/fix/indexer-hotfix
Browse files Browse the repository at this point in the history
Indexer hotfixes
  • Loading branch information
pshenmic authored Dec 27, 2024
2 parents 531917c + ea76b21 commit 34dbcd4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/indexer/src/processor/psql/dao/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,8 @@ impl PostgresDAO {
pub async fn get_document_by_identifier(&self, identifier: Identifier) -> Result<Option<Document>, PoolError> {
let client = self.connection_pool.get().await?;

let stmt = client.prepare_cached("SELECT documents.id, documents.identifier, \
documents.document_type_name, documents.transition_type, \
data_contracts.identifier,documents.owner,documents.price,\
let stmt = client.prepare_cached("SELECT documents.id, documents.identifier,\
documents.document_type_name,documents.transition_type,data_contracts.identifier,documents.owner,documents.price,\
documents.deleted,documents.revision,documents.is_system \
FROM documents \
LEFT JOIN data_contracts ON data_contracts.id = documents.data_contract_id \
Expand Down

0 comments on commit 34dbcd4

Please sign in to comment.