Skip to content

Commit

Permalink
fix asset sync problem
Browse files Browse the repository at this point in the history
  • Loading branch information
vorujack committed Feb 24, 2024
1 parent 9fdf5a5 commit 3c81965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/action/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ class AssetDbAction {
return this.assetRepository
.createQueryBuilder()
.select()
.where('(tx_id is NULL OR tx_id = "") AND network_type=:networkType', {
.where("(tx_id is NULL OR tx_id ='') AND network_type=:networkType", {
networkType,
})
.getMany();
Expand All @@ -678,7 +678,7 @@ class AssetDbAction {
.createQueryBuilder()
.select()
.where(
'tx_id is not NULL AND tx_id <> "" AND network_type=:networkType AND height > :height',
"tx_id is not NULL AND tx_id <> '' AND network_type=:networkType AND height > :height",
{
networkType,
height,
Expand Down

0 comments on commit 3c81965

Please sign in to comment.